Examples of path()


Examples of akka.actor.ActorRef.path()

    while (manager != null) {
      FiniteDuration duration = Duration.create(
          60, TimeUnit.SECONDS);
      streamRequestToManager streamRequest = new streamRequestToManager(0);
      Future<Object> futureResponse = Patterns.ask(manager, streamRequest, new Timeout(duration));
      System.out.println(manager.path().address().toString());
     
      try {
        BatchResponseFromManager partResponse = (BatchResponseFromManager) Await.result(futureResponse, duration);
        while (partResponse.getResponseMap().size() > 0) {
          collectResult(response, partResponse);
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.SearchParamDefinition.path()

      if (searchParam != null) {
        SearchParamTypeEnum paramType = SearchParamTypeEnum.valueOf(searchParam.type().toUpperCase());
        if (paramType == null) {
          throw new ConfigurationException("Searc param " + searchParam.name() + " has an invalid type: " + searchParam.type());
        }
        RuntimeSearchParam param = new RuntimeSearchParam(searchParam.name(), searchParam.description(), searchParam.path(), paramType);
        theResourceDef.addSearchParam(param);
      }
    }

  }
View Full Code Here

Examples of com.badlogic.gdx.files.FileHandle.path()

      if (atlasFile == null) {
        throw new GdxRuntimeException("Couldn't load atlas");
      }

      TextureAtlas atlas = new TextureAtlas(atlasFile);
      atlases.put(atlasFile.path(), atlas);

      AtlasResolver.DirectAtlasResolver atlasResolver = new AtlasResolver.DirectAtlasResolver(atlases);
      TiledMap map = loadMap(root, tmxFile, atlasResolver, parameter);
      map.setOwnedResources(atlases.values().toArray());
      setTextureFilters(parameter.textureMinFilter, parameter.textureMagFilter);
View Full Code Here

Examples of com.barchart.http.request.RequestHandlerMapping.path()

      sendNotFound(ctx, msg);
      return;
    }

    final String relativePath =
        msg.getUri().substring(mapping.path().length());

    // Create request/response
    final PooledServerRequest request =
        new PooledServerRequest(ctx.channel());
    request.init(msg, relativePath);
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.Component.path()

    Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);

    String suffixPathToReturn = defaultComponentPathSuffix;

    if (componentAnnotation != null) {
      String path = componentAnnotation.path();

      if (StringUtils.isNotEmpty(path)) {
        suffixPathToReturn = path;
      }
    }
View Full Code Here

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

                  webResource = client.resource(target.toURL()+"/api/auditPublishing");

                  try {
                    PublishAuditHistory remoteHistory =
                        PublishAuditHistory.getObjectFromString(
                        webResource
                        .path("get")
                        .path(pendingAudit.getBundleId()).get(String.class));

                    if(remoteHistory != null) {
                      bufferMap.putAll(remoteHistory.getEndpointsMap());
View Full Code Here

Examples of com.eclipsesource.restfuse.annotation.HttpTest.path()

    this.target = target;
  }

  public InternalRequest createRequest() {
    HttpTest call = method.getAnnotation( HttpTest.class );
    InternalRequest request = new InternalRequest( combineUrlAndPath( baseUrl, call.path() ) );
    addAuthentication( call, request );
    addContentType( call, request );
    addHeader( call, request );
    addBody( call, request );
    return request;
View Full Code Here

Examples of com.esotericsoftware.scar.Project.path()

    oneJAR(project);
   
    String onejar = project.path("$target$/onejar");
   
    // Output ane executable jar to the output folder
    String outputPath = project.path("$target$/../dist/" + JarWrapper.version);
    paths(outputPath).delete();
   
    String jar = outputPath + "/JarWrapper-"+JarWrapper.version+".jar";
    Scar.jar(jar, paths(onejar), "com.robotality.jarwrapper.JarWrapper", new Paths());
   
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jackson.databind.JsonNode.path()

    @Override
    public ReadablePeriod deserialize(JsonParser jsonParser, DeserializationContext ctxt)
        throws IOException
    {
        JsonNode treeNode = jsonParser.readValueAsTree();
        String periodType = treeNode.path("fieldType").path("name").asText();
        String periodName = treeNode.path("periodType").path("name").asText();
        // any "weird" numbers we should worry about?
        int periodValue = treeNode.path(periodType).asInt();
        if (periodName.equals( "Seconds" )) {
            return Seconds.seconds( periodValue );
View Full Code Here

Examples of com.fasterxml.jackson.databind.JsonNode.path()

        JsonNode currentNode = tree;
        for (String pathElement : Splitter.on('/').omitEmptyStrings().split(mapping)) {
            if (!currentNode.has(pathElement)) {
                return MissingNode.getInstance();
            }
            currentNode = currentNode.path(pathElement);
        }
        return currentNode;
    }
}
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.