Package ca.uhn.fhir.model.dstu.resource

Examples of ca.uhn.fhir.model.dstu.resource.Conformance$RestSecurity


  public Conformance getServerConformance() {
    if (myConformance != null) {
      return myConformance;
    }

    Conformance retVal = new Conformance();
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    for (ResourceBinding next : myRestfulServer.getResourceBindings()) {
View Full Code Here


    if (isKeepResponses()) {
      myLastRequest = invocation.asHttpRequest(getServerBase(), createExtraParams(), getEncoding());
    }

    ResourceResponseHandler<Conformance> binding = new ResourceResponseHandler<Conformance>(Conformance.class, null);
    Conformance resp = invokeClient(binding, invocation, myLogRequestAndResponse);
    return resp;
  }
View Full Code Here

  public Conformance getServerConformance() {
    if (myConformance != null && myCache) {
      return myConformance;
    }

    Conformance retVal = new Conformance();

    retVal.getImplementation().setDescription(myRestfulServer.getImplementationDescription());
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());
    retVal.addFormat(Constants.CT_FHIR_XML);
    retVal.addFormat(Constants.CT_FHIR_JSON);

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    List<ResourceBinding> bindings = new ArrayList<ResourceBinding>(myRestfulServer.getResourceBindings());
View Full Code Here

    if (isKeepResponses()) {
      myLastRequest = invocation.asHttpRequest(getServerBase(), createExtraParams(), getEncoding());
    }

    ResourceResponseHandler<Conformance> binding = new ResourceResponseHandler<Conformance>(Conformance.class, null);
    Conformance resp = invokeClient(myContext, binding, invocation, myLogRequestAndResponse);
    return resp;
  }
View Full Code Here

  public Conformance getServerConformance() {
    if (myConformance != null && myCache) {
      return myConformance;
    }

    Conformance retVal = new Conformance();

    retVal.getImplementation().setDescription(myRestfulServer.getImplementationDescription());
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());
    retVal.addFormat(Constants.CT_FHIR_XML);
    retVal.addFormat(Constants.CT_FHIR_JSON);

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    List<ResourceBinding> bindings = new ArrayList<ResourceBinding>(myRestfulServer.getResourceBindings());
View Full Code Here

  public Conformance getServerConformance() {
    if (myConformance != null) {
      return myConformance;
    }

    Conformance retVal = new Conformance();
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());
    retVal.addFormat(Constants.CT_FHIR_XML);
    retVal.addFormat(Constants.CT_FHIR_JSON);

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    for (ResourceBinding next : myRestfulServer.getResourceBindings()) {
View Full Code Here

        streamResponse(resName, myStaticResources.get(resName), theResp);
        return;
      }

      ConformanceClient client = myCtx.newRestfulClient(ConformanceClient.class, myServerBase);
      Conformance conformance = client.getConformance();

      WebContext ctx = new WebContext(theReq, theResp, theReq.getServletContext(), theReq.getLocale());
      ctx.setVariable("conf", conformance);
      ctx.setVariable("base", myServerBase);
      ctx.setVariable("jsonEncodedConf", myCtx.newJsonParser().encodeResourceToString(conformance));
View Full Code Here

    if (isKeepResponses()) {
      myLastRequest = invocation.asHttpRequest(getServerBase(), createExtraParams(), getEncoding());
    }

    ResourceResponseHandler<Conformance> binding = new ResourceResponseHandler<Conformance>(Conformance.class);
    Conformance resp = invokeClient(binding, invocation);
    return resp;
  }
View Full Code Here

  public Conformance getServerConformance() {
    if (myConformance != null) {
      return myConformance;
    }

    Conformance retVal = new Conformance();
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    for (ResourceBinding next : myRestfulServer.getResourceBindings()) {
View Full Code Here

  public Conformance getServerConformance() {
    if (myConformance != null && myCache) {
      return myConformance;
    }

    Conformance retVal = new Conformance();

    retVal.getImplementation().setDescription(myRestfulServer.getImplementationDescription());
    retVal.getSoftware().setName(myRestfulServer.getServerName());
    retVal.getSoftware().setVersion(myRestfulServer.getServerVersion());
    retVal.addFormat(Constants.CT_FHIR_XML);
    retVal.addFormat(Constants.CT_FHIR_JSON);

    Rest rest = retVal.addRest();
    rest.setMode(RestfulConformanceModeEnum.SERVER);

    Set<RestfulOperationSystemEnum> systemOps = new HashSet<RestfulOperationSystemEnum>();

    List<ResourceBinding> bindings = new ArrayList<ResourceBinding>(myRestfulServer.getResourceBindings());
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.model.dstu.resource.Conformance$RestSecurity

Copyright © 2018 www.massapicom. 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.