/** * Returns the server base URL (with no trailing '/') for a given request */ public String getServerBaseForRequest(ServletRequestDetails theRequest) { String fhirServerBase; fhirServerBase = myServerAddressStrategy.determineServerBase(getServletContext(), theRequest.getServletRequest()); if (fhirServerBase.endsWith("/")) { fhirServerBase = fhirServerBase.substring(0, fhirServerBase.length() - 1); } if (myTenantIdentificationStrategy != null) { fhirServerBase = myTenantIdentificationStrategy.massageServerBaseUrl(fhirServerBase, theRequest); } return fhirServerBase; }
@Override public String getServerBaseForRequest() { return getServer().getServerAddressStrategy().determineServerBase(null, null); }
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
resource.getTypeElement().setValue(def.getName()); ServletContext servletContext = (ServletContext) (theRequest == null ? null : theRequest.getAttribute(RestfulServer.SERVLET_CONTEXT_ATTRIBUTE)); String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); resource.getProfile().setReference((def.getResourceProfile(serverBase)));
/** * Returns the server base URL (with no trailing '/') for a given request */ public String getServerBaseForRequest(ServletRequestDetails theRequest) { String fhirServerBase; fhirServerBase = myServerAddressStrategy.determineServerBase(getServletContext(), theRequest.getServletRequest()); if (fhirServerBase.endsWith("/")) { fhirServerBase = fhirServerBase.substring(0, fhirServerBase.length() - 1); } if (myTenantIdentificationStrategy != null) { fhirServerBase = myTenantIdentificationStrategy.massageServerBaseUrl(fhirServerBase, theRequest); } return fhirServerBase; }
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
resource.getTypeElement().setValue(def.getName()); ServletContext servletContext = (ServletContext) (theRequest == null ? null : theRequest.getAttribute(RestfulServer.SERVLET_CONTEXT_ATTRIBUTE)); String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); resource.getProfile().setReference((def.getResourceProfile(serverBase)));
String serverBase = getServerConfiguration().getServerAddressStrategy().determineServerBase(servletContext, theRequest); retVal .getImplementation()
resource.getType().setValue(def.getName()); ServletContext servletContext = (ServletContext) (theRequest == null ? null : theRequest.getAttribute(RestfulServer.SERVLET_CONTEXT_ATTRIBUTE)); String serverBase = myServerConfiguration.getServerAddressStrategy().determineServerBase(servletContext, theRequest); resource.getProfile().setReference(new IdDt(def.getResourceProfile(serverBase)));