Examples of path()


Examples of com.kurento.kmf.content.HttpRecorderService.path()

        HttpRecorderService recorderService = Class.forName(rh)
            .getAnnotation(HttpRecorderService.class);
        if (recorderService != null) {
          String name = recorderService.name().isEmpty() ? rh
              : recorderService.name();
          String path = recorderService.path();
          log.debug("Registering HttpRecorderHandler with name "
              + name + " at path " + path);
          ServletRegistration.Dynamic sr = sc.addServlet(name,
              RecorderHandlerServlet.class);
          sr.addMapping(path);
View Full Code Here

Examples of com.kurento.kmf.content.RtpContentService.path()

        RtpContentService mediaService = Class.forName(rh)
            .getAnnotation(RtpContentService.class);
        if (mediaService != null) {
          String name = mediaService.name().isEmpty() ? rh
              : mediaService.name();
          String path = mediaService.path();
          log.debug("Registering RtpContentHandler with name " + name
              + " at path " + path);
          ServletRegistration.Dynamic sr = sc.addServlet(name,
              RtpMediaHandlerServlet.class);
          sr.addMapping(path);
View Full Code Here

Examples of com.kurento.kmf.content.WebRtcContentService.path()

        WebRtcContentService mediaService = Class.forName(wh)
            .getAnnotation(WebRtcContentService.class);
        if (mediaService != null) {
          String name = mediaService.name().isEmpty() ? wh
              : mediaService.name();
          String path = mediaService.path();
          log.debug("Registering WebRtcContentHandler with name "
              + name + " at path " + path);
          ServletRegistration.Dynamic sr = sc.addServlet(name,
              WebRtcMediaHandlerServlet.class);
          sr.addMapping(path);
View Full Code Here

Examples of com.linkedin.data.element.DataElement.path()

    Object value = element.getValue();
    String str = String.valueOf(value);
    int strlen = str.length();
    if ((strlen < _min) || (strlen > _max))
    {
      ctx.addResult(new Message(element.path(), "length of \"%1$s\" is out of range %2$d...%3$d", str, _min, _max));
    }
  }
}
View Full Code Here

Examples of com.linkedin.jersey.api.uri.UriBuilder.path()

    String path = LoadBalancerUtil.getRawPathFromUri(uri);

    UriBuilder builder = UriBuilder.fromUri(_uri);
    if (path != null)
    {
      builder.path(path);
    }
    builder.replaceQuery(uri.getRawQuery());
    builder.fragment(uri.getRawFragment());
    URI rewrittenUri = builder.build();
View Full Code Here

Examples of com.sun.jersey.api.client.WebResource.path()

  }

  @Test
  public void testShow() {
    WebResource webResource = resource();
    String responseMsg = webResource.path("helloworld").get(String.class);
    assertEquals("Hello, World!", responseMsg);
  }

}
View Full Code Here

Examples of com.tinkerpop.rexster.extension.ExtensionDefinition.path()

                            final ExtensionDescriptor descriptor = method.getAnnotation(ExtensionDescriptor.class);
                            final ExtensionDefinition definition = method.getAnnotation(ExtensionDefinition.class);

                            if (definition != null && definition.extensionPoint() == extensionPoint) {
                                String href = currentExtensionNamespace + "/" + currentExtensionName;
                                if (!definition.path().isEmpty()) {
                                    href = href + "/" + definition.path();
                                }

                                final HashMap<String, Object> hypermediaLink = new HashMap<String, Object>();
                                hypermediaLink.put("href", href);
View Full Code Here

Examples of com.webobjects.eoaccess.EOModel.path()

            GSVModel model = (GSVModel)_modelCache.objectForKey(modelName);

            //if the model hasn't been cache, load then cache it
            if( model == null ){
                EOModel eomodel = eoentity.model();
                String eoModelPath = NSPathUtilities.stringByDeletingLastPathComponent(eomodel.path());
                eoModelPath = NSPathUtilities.stringByAppendingPathComponent(eoModelPath, eomodel.name());
                eoModelPath = NSPathUtilities.stringByAppendingPathExtension(eoModelPath, "eomodeld");
                String gsvModelPath = NSPathUtilities.stringByAppendingPathComponent(eoModelPath, GSVModel.MODEL_NAME);
                gsvModelPath = NSPathUtilities.stringByAppendingPathExtension(gsvModelPath, GSVModel.MODEL_EXTENSION);
                WOXMLDecoder decoder = WOXMLDecoder.decoder();
View Full Code Here

Examples of com.webobjects.monitor._private.MInstance.path()

            appPath = myApplication.winPath();
        } else if (myHost.osType().equals("MACOSX")) {
            appPath = myApplication.macPath();
        }

        if (!safeEquals(myInstance.path(), appPath)) {
            return _diffString;
        }
        return _emptyString;
    }
View Full Code Here

Examples of com.wordnik.swagger.model.ApiListingReference.path()

  private void prepareServiceDocument() {
    List<ApiListingReference> apiListingReferences = new ArrayList<ApiListingReference>();
    for (Iterator<ApiListingReference> iterator = serviceDocument.apis()
        .iterator(); iterator.hasNext();) {
      ApiListingReference apiListingReference = iterator.next();
      String newPath = apiListingReference.path();
      if (useOutputFlatStructure) {
        newPath = newPath.replaceAll("/", "_");
        if (newPath.startsWith("_")) {
          newPath = "/" + newPath.substring(1);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.