| Modifier and Type | Interface and Description |
|---|---|
interface |
IRestfulServer<T extends RequestDetails> |
| Modifier and Type | Class and Description |
|---|---|
class |
RestfulResponse<T extends RequestDetails> |
| Modifier and Type | Method and Description |
|---|---|
static void |
RestfulServerUtils.configureResponseParser(RequestDetails theRequestDetails,
ca.uhn.fhir.parser.IParser parser) |
static String |
RestfulServerUtils.createPagingLink(Set<ca.uhn.fhir.model.api.Include> theIncludes,
RequestDetails theRequestDetails,
String theSearchId,
int theOffset,
int theCount,
Map<String,String[]> theRequestParameters,
boolean thePrettyPrint,
ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) |
static String |
RestfulServerUtils.createPagingLink(Set<ca.uhn.fhir.model.api.Include> theIncludes,
RequestDetails theRequestDetails,
String theSearchId,
String thePageId,
Map<String,String[]> theRequestParameters,
boolean thePrettyPrint,
ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) |
static ca.uhn.fhir.rest.api.EncodingEnum |
RestfulServerUtils.determineRequestEncoding(RequestDetails theReq) |
static ca.uhn.fhir.rest.api.EncodingEnum |
RestfulServerUtils.determineRequestEncodingNoDefault(RequestDetails theReq) |
BaseMethodBinding<?> |
RestfulServer.determineResourceMethod(RequestDetails requestDetails,
String requestPath)
Figure out and return whichever method binding is appropriate for
the given request
|
static RestfulServerUtils.ResponseEncoding |
RestfulServerUtils.determineResponseEncodingNoDefault(RequestDetails theReq,
ca.uhn.fhir.rest.api.EncodingEnum thePrefer)
Returns null if the request doesn't express that it wants FHIR.
|
static RestfulServerUtils.ResponseEncoding |
RestfulServerUtils.determineResponseEncodingNoDefault(RequestDetails theReq,
ca.uhn.fhir.rest.api.EncodingEnum thePrefer,
String thePreferContentType)
Try to determing the response content type, given the request Accept header and
_format parameter.
|
static RestfulServerUtils.ResponseEncoding |
RestfulServerUtils.determineResponseEncodingWithDefault(RequestDetails theReq)
Determine whether a response should be given in JSON or XML format based on the incoming HttpServletRequest's
"_format" parameter and "Accept:" HTTP header. |
static Set<ca.uhn.fhir.rest.api.SummaryEnum> |
RestfulServerUtils.determineSummaryMode(RequestDetails theRequest) |
static Integer |
RestfulServerUtils.extractCountParameter(RequestDetails theRequest) |
BaseMethodBinding<?> |
ResourceBinding.getMethod(RequestDetails theRequest) |
static ca.uhn.fhir.parser.IParser |
RestfulServerUtils.getNewParser(ca.uhn.fhir.context.FhirContext theContext,
ca.uhn.fhir.context.FhirVersionEnum theForVersion,
RequestDetails theRequestDetails) |
Object |
IRestfulServerUtil.getRequestResource(RequestDetails theRequest,
TransactionParameter.ParamStyle myParamStyle,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceBundleType) |
Object |
IRestfulServerUtil.getResourceParameter(RequestDetails requestDetails,
ResourceParameter.Mode myMode,
BaseMethodBinding<?> theMethodBinding,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceType) |
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
IRestfulServerUtil.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
org.hl7.fhir.instance.model.api.IBaseResource |
IRestfulServerUtil.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResourceType) |
void |
RestfulServer.populateRequestDetailsFromRequestPath(RequestDetails theRequestDetails,
String theRequestPath) |
static boolean |
RestfulServerUtils.prettyPrintResponse(IRestfulServerDefaults theServer,
RequestDetails theRequest) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
Set<ca.uhn.fhir.rest.api.SummaryEnum> theSummaryMode,
int stausCode,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
Set<ca.uhn.fhir.rest.api.SummaryEnum> theSummaryMode,
int theStatusCode,
String theStatusMessage,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IIdType theOperationResourceId,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theOperationResourceLastUpdated) |
protected void |
RestfulServer.throwUnknownFhirOperationException(RequestDetails requestDetails,
String requestPath,
ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType) |
static void |
RestfulServer.throwUnknownFhirOperationException(RequestDetails requestDetails,
String requestPath,
ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType,
ca.uhn.fhir.context.FhirContext theFhirContext) |
static Integer |
RestfulServerUtils.tryToExtractNamedParameter(RequestDetails theRequest,
String theParamName) |
| Modifier and Type | Method and Description |
|---|---|
RequestDetails |
IServerInterceptor.ActionRequestDetails.getRequestDetails()
Returns the request details associated with this request
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ExceptionHandlingInterceptor.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException) |
boolean |
InterceptorAdapter.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called upon any exception being thrown within the server's request processing code.
|
boolean |
LoggingInterceptor.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
ExceptionHandlingInterceptor.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
ResponseHighlighterInterceptor.handleException(RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
RequestValidatingInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
VerboseLoggingInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
InterceptorAdapter.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
IServerInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse)
This method is called just before the actual implementing server method is invoked.
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails)
Deprecated.
As of HAPI FHIR 3.2.0, this method is deprecated and will be removed in a future version of HAPI FHIR.
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
Deprecated.
As of HAPI FHIR 3.2.0, this method is deprecated and will be removed in a future version of HAPI FHIR.
|
boolean |
RequestValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) |
boolean |
ResponseValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject)
Deprecated.
As of HAPI FHIR 3.2.0, this method is deprecated and will be removed in a future version of HAPI FHIR.
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
Deprecated.
As of HAPI FHIR 3.3.0, this method has been deprecated in
favour of
IServerInterceptor.outgoingResponse(RequestDetails, ResponseDetails, HttpServletRequest, HttpServletResponse)
and will be removed in a future version of HAPI FHIR. |
boolean |
ServeMediaResourceRawInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
ResponseDetails theResponseDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
ResponseDetails theResponseDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client.
|
boolean |
ResponseHighlighterInterceptor.outgoingResponse(RequestDetails theRequestDetails,
ResponseDetails theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
ca.uhn.fhir.model.api.TagList theResponseObject) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
ca.uhn.fhir.model.api.TagList theResponseObject)
Deprecated.
As of HAPI FHIR 3.2.0, this method is deprecated and will be removed in a future version of HAPI FHIR.
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
ca.uhn.fhir.model.api.TagList theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
ca.uhn.fhir.model.api.TagList theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
Deprecated.
As of HAPI FHIR 3.2.0, this method is deprecated and will be removed in a future version of HAPI FHIR.
|
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException |
InterceptorAdapter.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest) |
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException |
IServerInterceptor.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest)
This method is called upon any exception being thrown within the server's request processing code.
|
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException |
ExceptionHandlingInterceptor.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest) |
void |
ServerOperationInterceptorAdapter.resourceCreated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceCreated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
This method is called by the server immediately after a resource has
been created, within the database transaction scope of the operation.
|
void |
ServerOperationInterceptorAdapter.resourceDeleted(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceDeleted(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
This method is called by the server immediately after a resource has
been deleted, within the database transaction scope of the operation.
|
void |
ServerOperationInterceptorAdapter.resourcePreCreate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
IServerOperationInterceptor.resourcePreCreate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
This method is called by the server immediately before a resource is about
to be created, within the database transaction scope of the operation.
|
void |
ServerOperationInterceptorAdapter.resourcePreDelete(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
IServerOperationInterceptor.resourcePreDelete(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
This method is called by the server immediately before a resource is about
to be deleted, within the database transaction scope of the operation.
|
void |
ServerOperationInterceptorAdapter.resourcePreUpdate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
org.hl7.fhir.instance.model.api.IBaseResource theNewResource) |
void |
IServerOperationInterceptor.resourcePreUpdate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
org.hl7.fhir.instance.model.api.IBaseResource theNewResource)
Deprecated.
This method is called by the server immediately before a resource is about
to be updated, within the database transaction scope of the operation.
|
void |
ServerOperationInterceptorAdapter.resourceUpdated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
Deprecated in HAPI FHIR 2.6 in favour of
ServerOperationInterceptorAdapter.resourceUpdated(RequestDetails, IBaseResource, IBaseResource) |
void |
IServerOperationInterceptor.resourceUpdated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource)
Deprecated.
Deprecated in HAPI FHIR 3.0.0 in favour of
IServerOperationInterceptor.resourceUpdated(RequestDetails, IBaseResource, IBaseResource) |
void |
ServerOperationInterceptorAdapter.resourceUpdated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
org.hl7.fhir.instance.model.api.IBaseResource theNewResource) |
void |
IServerOperationInterceptor.resourceUpdated(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
org.hl7.fhir.instance.model.api.IBaseResource theNewResource)
Deprecated.
This method is called by the server immediately after a resource has
been created, within the database transaction scope of the operation.
|
| Constructor and Description |
|---|
ActionRequestDetails(RequestDetails theRequestDetails) |
ActionRequestDetails(RequestDetails theRequestDetails,
ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
ca.uhn.fhir.context.FhirContext theContext,
String theResourceType,
org.hl7.fhir.instance.model.api.IIdType theId) |
ActionRequestDetails(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theResourceType,
org.hl7.fhir.instance.model.api.IIdType theId) |
ActionRequestDetails(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IIdType theId)
Constructor
|
ActionRequestDetails(RequestDetails theRequestDetails,
String theResourceType,
org.hl7.fhir.instance.model.api.IIdType theId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RuleBuilder.ITenantApplicabilityChecker.applies(RequestDetails theRequest) |
AuthorizationInterceptor.Verdict |
IAuthRule.applyRule(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theOutputResource,
IRuleApplier theRuleApplier,
Set<AuthorizationFlagsEnum> theFlags)
Applies the rule and returns a policy decision, or
null if the rule does not apply |
AuthorizationInterceptor.Verdict |
RuleImplConditional.applyRule(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theOutputResource,
IRuleApplier theRuleApplier,
Set<AuthorizationFlagsEnum> theFlags) |
AuthorizationInterceptor.Verdict |
AuthorizationInterceptor.applyRulesAndReturnDecision(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theOutputResource) |
AuthorizationInterceptor.Verdict |
IRuleApplier.applyRulesAndReturnDecision(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theOutputResource) |
protected AuthorizedList |
SearchNarrowingInterceptor.buildAuthorizedList(RequestDetails theRequestDetails)
Subclasses should override this method to supply the set of compartments that
the user making the request should actually have access to.
|
List<IAuthRule> |
AuthorizationInterceptor.buildRuleList(RequestDetails theRequestDetails)
Subclasses should override this method to supply the set of rules to be applied to
this individual request.
|
protected void |
AuthorizationInterceptor.handleDeny(RequestDetails theRequestDetails,
AuthorizationInterceptor.Verdict decision)
Handle an access control verdict of
PolicyEnum.DENY. |
boolean |
SearchNarrowingInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
IAuthRuleTester.matches(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IIdType theInputResourceId,
org.hl7.fhir.instance.model.api.IBaseResource theInputResource)
Allows user-supplied logic for authorization rules.
|
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) |
void |
AuthorizationInterceptor.resourcePreCreate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
AuthorizationInterceptor.resourcePreDelete(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
void |
AuthorizationInterceptor.resourcePreUpdate(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
org.hl7.fhir.instance.model.api.IBaseResource theNewResource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UpdateMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected void |
DeleteMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected void |
PatchMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
static org.hl7.fhir.instance.model.api.IIdType |
UpdateMethodBinding.applyETagAsVersion(RequestDetails theRequest,
org.hl7.fhir.instance.model.api.IIdType id) |
protected ca.uhn.fhir.parser.IParser |
BaseMethodBinding.createAppropriateParserForParsingServerRequest(RequestDetails theRequest) |
protected Object[] |
BaseMethodBinding.createMethodParams(RequestDetails theRequest) |
protected Object[] |
BaseMethodBinding.createParametersForServerRequest(RequestDetails theRequest) |
static Reader |
ResourceParameter.createRequestReader(RequestDetails theRequest) |
static Reader |
ResourceParameter.createRequestReader(RequestDetails theRequest,
Charset charset) |
static Charset |
ResourceParameter.determineRequestCharset(RequestDetails theRequest) |
org.hl7.fhir.instance.model.api.IBaseResource |
PageMethodBinding.doInvokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
org.hl7.fhir.instance.model.api.IBaseResource |
BaseResourceReturningMethodBinding.doInvokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
static Set<String> |
ElementsParameter.getElementsValueOrNull(RequestDetails theRequest,
boolean theExclude) |
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
BaseMethodBinding.getRestOperationType(RequestDetails theRequestDetails)
Determine which operation is being fired for a specific request
|
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
ReadMethodBinding.getRestOperationType(RequestDetails theRequestDetails) |
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
OperationMethodBinding.getRestOperationType(RequestDetails theRequestDetails) |
static Set<ca.uhn.fhir.rest.api.SummaryEnum> |
SummaryEnumParameter.getSummaryValueOrNull(RequestDetails theRequest) |
boolean |
GraphQLMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
ConformanceMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
SearchMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
PageMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
abstract boolean |
BaseMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
ReadMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
HistoryMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
TransactionMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
OperationMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
PatchMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
Object |
GraphQLMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
abstract Object |
BaseMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
Object |
BaseResourceReturningMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
Object |
OperationMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
IBundleProvider |
ConformanceMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
SearchMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
PageMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
ReadMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
abstract Object |
BaseResourceReturningMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
HistoryMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
TransactionMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
OperationMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
protected Object |
BaseMethodBinding.invokeServerMethod(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
static <T extends org.hl7.fhir.instance.model.api.IBaseResource> |
ResourceParameter.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
static org.hl7.fhir.instance.model.api.IBaseResource |
ResourceParameter.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResourceType) |
protected void |
BaseMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams)
Subclasses may override this method (but should also call super.
#populateActionRequestDetailsForInterceptor(RequestDetails, ActionRequestDetails, Object[]) to provide method specifics to the
interceptors. |
protected void |
TransactionMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams) |
protected void |
OperationMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams) |
Object |
ResourceParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
IParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding)
This server method method takes the data received by the server in an incoming request, and translates that data into a single argument for a server method invocation.
|
Object |
CountParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
RawParamsParmeter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
GraphQLQueryParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
BaseQueryParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
RequestDetailsParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
SummaryEnumParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
TransactionParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
OperationParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
SortParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
ElementsParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServletRequestDetails |
| Modifier and Type | Method and Description |
|---|---|
void |
ITenantIdentificationStrategy.extractTenant(ca.uhn.fhir.util.UrlPathTokenizer theUrlPathTokenizer,
RequestDetails theRequestDetails)
Implementations should use this method to determine the tenant ID
based on the incoming request andand populate it in the
setTenantId(String). |
void |
UrlBaseTenantIdentificationStrategy.extractTenant(ca.uhn.fhir.util.UrlPathTokenizer theUrlPathTokenizer,
RequestDetails theRequestDetails) |
String |
ITenantIdentificationStrategy.massageServerBaseUrl(String theFhirServerBase,
RequestDetails theRequestDetails)
Implementations may use this method to tweak the server base URL
if neccesary based on the tenant ID
|
String |
UrlBaseTenantIdentificationStrategy.massageServerBaseUrl(String theFhirServerBase,
RequestDetails theRequestDetails) |
Copyright © 2014–2019 University Health Network. All rights reserved.