Uses of Class
ca.uhn.fhir.rest.api.server.RequestDetails
Package
Description
-
Uses of RequestDetails in ca.uhn.fhir.rest.api.server
Modifier and TypeClassDescriptionclass
A default RequestDetails implementation that can be used for system calls to Resource DAO methods when partitioning is enabled.ModifierConstructorDescriptionRequestDetails
(RequestDetails theRequestDetails) Copy constructorSystemRequestDetails
(RequestDetails theDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.api.server.storage
-
Uses of RequestDetails in ca.uhn.fhir.rest.server
Modifier and TypeMethodDescriptionstatic void
RestfulServerUtils.configureResponseParser
(RequestDetails theRequestDetails, ca.uhn.fhir.parser.IParser parser) static String
RestfulServerUtils.createLinkSelf
(String theServerBase, RequestDetails theRequest) static String
RestfulServerUtils.createLinkSelfWithoutGivenParameters
(String theServerBase, RequestDetails theRequest, List<String> excludedParameterNames) This function will create a self link but omit any parameters passed in via the excludedParameterNames list.static String
RestfulServerUtils.createPagingLink
(ca.uhn.fhir.rest.api.BundleLinks theBundleLinks, RequestDetails theRequestDetails, String theSearchId, int theOffset, int theCount, Map<String, String[]> theRequestParameters) static String
RestfulServerUtils.createPagingLink
(ca.uhn.fhir.rest.api.BundleLinks theBundleLinks, RequestDetails theRequestDetails, String theSearchId, String thePageId, Map<String, String[]> theRequestParameters) static ca.uhn.fhir.rest.api.EncodingEnum
RestfulServerUtils.determineRequestEncodingNoDefault
(RequestDetails theReq) static ca.uhn.fhir.rest.api.EncodingEnum
RestfulServerUtils.determineRequestEncodingNoDefault
(RequestDetails theReq, boolean theStrict) RestfulServer.determineResourceMethod
(RequestDetails requestDetails, String requestPath) Figure out and return whichever method binding is appropriate for the given requestRestfulServerUtils.determineResponseEncodingNoDefault
(RequestDetails theReq, ca.uhn.fhir.rest.api.EncodingEnum thePrefer) Returns null if the request doesn't express that it wants FHIR.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.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) RestfulServerUtils.extractDeleteCascadeParameter
(RequestDetails theRequest) static Integer
RestfulServerUtils.extractOffsetParameter
(RequestDetails theRequest) 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) IRestfulServerUtil.getRequestResource
(RequestDetails theRequest, TransactionParameter.ParamStyle myParamStyle, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceBundleType) IRestfulServerUtil.getResourceParameter
(RequestDetails requestDetails, ResourceParameter.Mode myMode, BaseMethodBinding theMethodBinding, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceType) IServerConformanceProvider.getServerConformance
(jakarta.servlet.http.HttpServletRequest theRequest, RequestDetails theRequestDetails) Actually create and return the conformance statement See the class documentation for an important note if you are extending this class<T extends org.hl7.fhir.instance.model.api.IBaseResource>
TIRestfulServerUtil.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) default org.hl7.fhir.instance.model.api.IBaseResource
IServerConformanceProvider.readOperationDefinition
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails) FifoMemoryPagingProvider.retrieveResultList
(RequestDetails theRequest, String theId) IPagingProvider.retrieveResultList
(RequestDetails theRequestDetails, String theSearchId) Retrieve a result list by Search IDdefault IBundleProvider
IPagingProvider.retrieveResultList
(RequestDetails theRequestDetails, String theSearchId, String thePageId) Retrieve a result list by Search ID and Page IDFifoMemoryPagingProvider.storeResultList
(RequestDetails theRequestDetails, IBundleProvider theList) IPagingProvider.storeResultList
(RequestDetails theRequestDetails, IBundleProvider theList) Stores a result list and returns an ID with which that list can be returnedstatic Object
RestfulServerUtils.streamResponseAsResource
(IRestfulServerDefaults theServer, org.hl7.fhir.instance.model.api.IBaseResource theResource, Set<ca.uhn.fhir.rest.api.SummaryEnum> theSummaryMode, int theStatusCode, 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, 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) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor
Modifier and TypeMethodDescriptionboolean
ValidationResultEnrichingInterceptor.addValidationResultsToOperationOutcome
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) static void
ValidationResultEnrichingInterceptor.addValidationResultToRequestDetails
(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult) void
ResponseHighlighterInterceptor.capabilityStatementGenerated
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseConformance theCapabilityStatement) ResponseSizeCapturingInterceptor.capture
(RequestDetails theRequestDetails, Writer theWriter) void
ResponseSizeCapturingInterceptor.completed
(RequestDetails theRequestDetails) void
CaptureResourceSourceFromHeaderInterceptor.extractSource
(RequestDetails theRequestDetails) protected void
BaseValidatingInterceptor.fail
(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult) Fail the request by throwing anUnprocessableEntityException
as a result of a validation failure.static List
<org.hl7.fhir.instance.model.api.IBaseResource> ServerInterceptorUtil.fireStoragePreshowResource
(List<org.hl7.fhir.instance.model.api.IBaseResource> theResources, RequestDetails theRequest, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster) FiresPointcut.STORAGE_PRESHOW_RESOURCES
interceptor hook, and potentially remove resources from the resource listExceptionHandlingInterceptor.handleException
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException) boolean
ExceptionHandlingInterceptor.handleException
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) boolean
InterceptorAdapter.handleException
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
IServerInterceptor.handleException
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.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, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
ResponseHighlighterInterceptor.handleException
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) void
ResponseTerminologyDisplayPopulationInterceptor.handleResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
ResponseTerminologyTranslationInterceptor.handleResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource) org.hl7.fhir.instance.model.api.IBaseConformance
StaticCapabilityStatementInterceptor.hook
(RequestDetails theRequestDetails) boolean
InterceptorAdapter.incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) boolean
IServerInterceptor.incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) This method is called just before the actual implementing server method is invoked.boolean
RequestValidatingInterceptor.incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) void
SearchPreferHandlingInterceptor.incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) boolean
VerboseLoggingInterceptor.incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) void
InterceptorAdapter.incomingRequestPreHandled
(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theProcessedRequest) void
IServerInterceptor.incomingRequestPreHandled
(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theProcessedRequest) Invoked before an incoming request is processed.boolean
ResponseHighlighterInterceptor.outgoingGraphqlResponse
(RequestDetails theRequestDetails, String theRequest, String theResponse, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, ca.uhn.fhir.model.api.TagList theResponseObject) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, ca.uhn.fhir.model.api.TagList theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, ResponseDetails theResponseDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) boolean
InterceptorAdapter.outgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) 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
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
IServerInterceptor.outgoingResponse
(RequestDetails theRequestDetails, ca.uhn.fhir.model.api.TagList theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.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
IServerInterceptor.outgoingResponse
(RequestDetails theRequestDetails, ResponseDetails theResponseDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.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
IServerInterceptor.outgoingResponse
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.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
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
IServerInterceptor.outgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) Deprecated.As of HAPI FHIR 3.3.0, this method has been deprecated in favour ofIServerInterceptor.outgoingResponse(RequestDetails, ResponseDetails, HttpServletRequest, HttpServletResponse)
and will be removed in a future version of HAPI FHIR.boolean
ResponseHighlighterInterceptor.outgoingResponse
(RequestDetails theRequestDetails, ResponseDetails theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) boolean
ResponseValidatingInterceptor.outgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) boolean
ServeMediaResourceRawInterceptor.outgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) protected void
BaseValidatingInterceptor.postProcessResult
(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult) Hook for subclasses (e.g.protected void
BaseValidatingInterceptor.postProcessResultOnFailure
(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult) Hook for subclasses on failure (e.g.ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
ExceptionHandlingInterceptor.preProcessOutgoingException
(RequestDetails theRequestDetails, Throwable theException, jakarta.servlet.http.HttpServletRequest theServletRequest) ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
InterceptorAdapter.preProcessOutgoingException
(RequestDetails theRequestDetails, Throwable theException, jakarta.servlet.http.HttpServletRequest theServletRequest) ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
IServerInterceptor.preProcessOutgoingException
(RequestDetails theRequestDetails, Throwable theException, jakarta.servlet.http.HttpServletRequest theServletRequest) This method is called upon any exception being thrown within the server's request processing code.void
FhirPathFilterInterceptor.preProcessOutgoingResponse
(RequestDetails theRequestDetails, ResponseDetails theResponseDetails) 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.resourceCreated
(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.resourceDeleted
(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.resourcePreCreate
(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.resourcePreDelete
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) 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.resourcePreUpdate
(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 theResource) Deprecated.Deprecated in HAPI FHIR 3.0.0 in favour ofIServerOperationInterceptor.resourceUpdated(RequestDetails, IBaseResource, IBaseResource)
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.void
ServerOperationInterceptorAdapter.resourceUpdated
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) Deprecated.Deprecated in HAPI FHIR 2.6 in favour ofServerOperationInterceptorAdapter.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) protected List
<org.hl7.fhir.instance.model.api.IBaseResource> BaseResponseTerminologyInterceptor.toListForProcessing
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource) protected ca.uhn.fhir.validation.ValidationResult
BaseValidatingInterceptor.validate
(T theRequest, RequestDetails theRequestDetails) Note: May return null -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.auth
Modifier and TypeFieldDescriptionfinal RequestDetails
IAuthRuleTester.RuleTestRequest.requestDetails
Modifier and TypeMethodDescriptionIAuthRule.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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) Applies the rule and returns a policy decision, ornull
if the rule does not applyRuleBulkExportImpl.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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) 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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) RuleImplUpdateHistoryRewrite.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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) 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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) 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, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) 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.AuthorizationInterceptor.buildRuleList
(RequestDetails theRequestDetails) Subclasses should override this method to supply the set of rules to be applied to this individual request.SearchNarrowingConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) protected void
AuthorizationInterceptor.handleDeny
(RequestDetails theRequestDetails, AuthorizationInterceptor.Verdict decision) Handle an access control verdict ofPolicyEnum.DENY
.void
AuthorizationInterceptor.hookCascadeDeleteForConflict
(RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, org.hl7.fhir.instance.model.api.IBaseResource theResourceToDelete) void
AuthorizationInterceptor.hookDeleteExpunge
(RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
SearchNarrowingInterceptor.hookIncomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) This method handles narrowing for FHIR search/create/update/patch operations.void
AuthorizationInterceptor.hookOutgoingResponse
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.hookPreShow
(RequestDetails theRequestDetails, IPreResourceShowDetails theDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.hookResourcePreCreate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.hookResourcePreDelete
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.hookResourcePreUpdate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.incomingRequestPreHandled
(RequestDetails theRequest, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
AuthorizationInterceptor.initiateBulkExport
(RequestDetails theRequestDetails, BulkExportJobParameters theBulkExportOptions, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) default 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) Deprecated.default boolean
IAuthRuleTester.matchesOutput
(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theOutputResource) Deprecated.void
RuleTarget.setSearchParams
(RequestDetails theRequestDetails) boolean
SearchNarrowingConsentService.shouldProcessCanSeeResource
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) SearchNarrowingConsentService.willSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) ModifierConstructorDescriptionRuleTestRequest
(PolicyEnum theMode, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theResourceId, org.hl7.fhir.instance.model.api.IBaseResource theResource, IRuleApplier theRuleApplier) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.binary
Modifier and TypeMethodDescriptionprotected void
BinarySecurityContextInterceptor.applyAccessControl
(org.hl7.fhir.instance.model.api.IBaseBinary theBinary, RequestDetails theRequestDetails) This method applies security to a given Binary resource.protected void
BinarySecurityContextInterceptor.applyAccessControl
(org.hl7.fhir.instance.model.api.IBaseBinary theBinary, String theSecurityContextSystem, String theSecurityContextValue, RequestDetails theRequestDetails) This method applies access controls to a Binary resource containing the given identifier system and value in the Binary.securityContext element.void
BinarySecurityContextInterceptor.preShowResources
(IPreResourceShowDetails theShowDetails, RequestDetails theRequestDetails) Interceptor hook method.void
BinarySecurityContextInterceptor.preShowResources
(org.hl7.fhir.instance.model.api.IBaseResource theOldValue, org.hl7.fhir.instance.model.api.IBaseResource theNewValue, RequestDetails theRequestDetails) Interceptor hook method.protected boolean
BinarySecurityContextInterceptor.securityContextIdentifierAllowed
(String theSecurityContextSystem, String theSecurityContextValue, RequestDetails theRequestDetails) Determines whether the current user has access to the given security context identifier. -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.consent
Modifier and TypeMethodDescriptionprotected RequestDetails
ConsentInterceptor.getRequestDetailsForCurrentExportOperation
(BulkExportJobParameters theParameters, org.hl7.fhir.instance.model.api.IBaseResource theBaseResource) Modifier and TypeMethodDescriptionConstantConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) DelegatingConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) default ConsentOutcome
IConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) This method is called if a user may potentially see a resource via READ operations, SEARCH operations, etc.MultiDelegateConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) RuleFilteringConsentService.canSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) Apply the rules active in our rule-applier, and drop resources that don't pass.void
DelegatingConsentService.completeOperationFailure
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, IConsentContextServices theContextServices) default void
IConsentService.completeOperationFailure
(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, IConsentContextServices theContextServices) This method is called when an operation is complete.void
DelegatingConsentService.completeOperationSuccess
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) default void
IConsentService.completeOperationSuccess
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) This method is called when an operation is complete.void
ConsentInterceptor.interceptOutgoingResponse
(RequestDetails theRequestDetails, ResponseDetails theResponseDetails) void
ConsentInterceptor.interceptPreAccess
(RequestDetails theRequestDetails, IPreResourceAccessDetails thePreResourceAccessDetails) boolean
ConsentInterceptor.interceptPreCheckForCachedSearch
(RequestDetails theRequestDetails) Check if this request is eligible for cached search results.void
ConsentInterceptor.interceptPreHandled
(RequestDetails theRequestDetails) void
ConsentInterceptor.interceptPreSearchRegistered
(RequestDetails theRequestDetails, ICachedSearchDetails theCachedSearchDetails) Check if the search results from this request might be reused by later searches.void
ConsentInterceptor.interceptPreShow
(RequestDetails theRequestDetails, IPreResourceShowDetails thePreResourceShowDetails) void
ConsentInterceptor.requestFailed
(RequestDetails theRequest, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException) void
ConsentInterceptor.requestSucceeded
(RequestDetails theRequest) boolean
ConstantConsentService.shouldProcessCanSeeResource
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) boolean
DelegatingConsentService.shouldProcessCanSeeResource
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) default boolean
IConsentService.shouldProcessCanSeeResource
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) This method will be invoked once prior to invokingIConsentService.canSeeResource(RequestDetails, IBaseResource, IConsentContextServices)
and can be used to skip that phase.boolean
MultiDelegateConsentService.shouldProcessCanSeeResource
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) ConstantConsentService.startOperation
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) DelegatingConsentService.startOperation
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) default ConsentOutcome
IConsentService.startOperation
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) This method is called when an operation is initially beginning, before any significant processing occurs.MultiDelegateConsentService.startOperation
(RequestDetails theRequestDetails, IConsentContextServices theContextServices) ConstantConsentService.willSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) DelegatingConsentService.willSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) default ConsentOutcome
IConsentService.willSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) This method is called if a user is about to see a resource, either completely or partially.MultiDelegateConsentService.willSeeResource
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.partition
Modifier and TypeMethodDescriptionprotected ca.uhn.fhir.interceptor.model.RequestPartitionId
RequestTenantPartitionInterceptor.extractPartitionIdFromRequest
(RequestDetails theRequestDetails) ca.uhn.fhir.interceptor.model.RequestPartitionId
RequestTenantPartitionInterceptor.partitionIdentifyCreate
(RequestDetails theRequestDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.s13n
Modifier and TypeMethodDescriptionvoid
StandardizingInterceptor.resourcePreCreate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
StandardizingInterceptor.resourcePreUpdate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.validation.address
Modifier and TypeMethodDescriptionprotected void
AddressValidatingInterceptor.handleRequest
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
AddressValidatingInterceptor.resourcePreCreate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
AddressValidatingInterceptor.resourcePreUpdate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource) protected boolean
AddressValidatingInterceptor.validateAddresses
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, List<org.hl7.fhir.instance.model.api.IBase> theAddresses) Validates specified child addresses for the resource -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.validation.fields
Modifier and TypeMethodDescriptionprotected void
FieldValidatingInterceptor.handleRequest
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
FieldValidatingInterceptor.resourcePreCreate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
FieldValidatingInterceptor.resourcePreUpdate
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.messaging
ModifierConstructorDescriptionBaseResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest) BaseResourceModifiedMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) ResourceOperationMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest) ResourceOperationMessage
(ca.uhn.fhir.context.FhirContext theFhirContext, org.hl7.fhir.instance.model.api.IBaseResource theNewResource, BaseResourceMessage.OperationTypeEnum theOperationType, RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.method
Modifier and TypeFieldDescriptionfinal RequestDetails
ResponseBundleRequest.requestDetails
The user request details.Modifier and TypeMethodDescriptionprotected void
DeleteMethodBinding.addParametersForServerRequest
(RequestDetails theRequest, Object[] theParams) protected void
PatchMethodBinding.addParametersForServerRequest
(RequestDetails theRequest, Object[] theParams) protected void
UpdateMethodBinding.addParametersForServerRequest
(RequestDetails theRequest, Object[] theParams) static org.hl7.fhir.instance.model.api.IIdType
UpdateMethodBinding.applyETagAsVersion
(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IIdType theId) static int
OffsetCalculator.calculateOffset
(RequestDetails theRequest, IBundleProvider theBundleProvider) Calculate the offset into the list of resources that should be used to create the returned bundle.static void
BaseResourceReturningMethodBinding.callOutgoingFailureOperationOutcomeHook
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome) static boolean
BaseResourceReturningMethodBinding.callOutgoingResponseHook
(RequestDetails theRequest, ResponseDetails theResponseDetails) protected Object[]
BaseMethodBinding.createMethodParams
(RequestDetails theRequest) protected Object[]
BaseMethodBinding.createParametersForServerRequest
(RequestDetails theRequest) static Reader
ResourceParameter.createRequestReader
(RequestDetails theRequest) static Charset
ResourceParameter.determineRequestCharset
(RequestDetails theRequest) org.hl7.fhir.instance.model.api.IBaseResource
BaseResourceReturningMethodBinding.doInvokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) org.hl7.fhir.instance.model.api.IBaseResource
PageMethodBinding.doInvokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) 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 requestca.uhn.fhir.rest.api.RestOperationTypeEnum
GraphQLMethodBinding.getRestOperationType
(RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.RestOperationTypeEnum
OperationMethodBinding.getRestOperationType
(RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.RestOperationTypeEnum
ReadMethodBinding.getRestOperationType
(RequestDetails theRequestDetails) static Set
<ca.uhn.fhir.rest.api.SummaryEnum> SummaryEnumParameter.getSummaryValueOrNull
(RequestDetails theRequest) abstract MethodMatchEnum
BaseMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) ConformanceMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) GraphQLMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) HistoryMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) OperationMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) PageMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) PatchMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) ReadMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) SearchMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) TransactionMethodBinding.incomingServerRequestMatchesMethod
(RequestDetails theRequest) abstract Object
BaseMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) BaseResourceReturningMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) abstract Object
BaseResourceReturningMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) ConformanceMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) GraphQLMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) HistoryMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) OperationMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest) OperationMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) PageMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) ReadMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) SearchMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) TransactionMethodBinding.invokeServer
(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) protected final Object
BaseMethodBinding.invokeServerMethod
(RequestDetails theRequest, Object[] theMethodParams) static boolean
SearchMethodBinding.isPlainSearchRequest
(RequestDetails theRequest) Is this request a request for a normal search - Ie.protected void
BaseMethodBinding.populateRequestDetailsForInterceptor
(RequestDetails theRequestDetails, Object[] theMethodParams) Subclasses may override this method (but should also call super) to provide method specifics to the interceptors.protected void
OperationMethodBinding.populateRequestDetailsForInterceptor
(RequestDetails theRequestDetails, Object[] theMethodParams) protected void
TransactionMethodBinding.populateRequestDetailsForInterceptor
(RequestDetails theRequestDetails, Object[] theMethodParams) org.hl7.fhir.instance.model.api.IBaseConformance
ConformanceMethodBinding.provideCapabilityStatement
(RestfulServer theServer, RequestDetails theRequest) Create and return the server's CapabilityStatementBaseQueryParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) CountParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) ElementsParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) GraphQLQueryBodyParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) GraphQLQueryUrlParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) 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.OffsetParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) OperationParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) RawParamsParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) RequestDetailsParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) ResourceParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) SortParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) SummaryEnumParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) TransactionParameter.translateQueryParametersIntoServerArgument
(RequestDetails theRequest, BaseMethodBinding theMethodBinding) ModifierConstructorDescriptionResponseBundleRequest
(IRestfulServer<?> theServer, IBundleProvider theBundleProvider, RequestDetails theRequest, int theOffset, Integer theLimit, String theLinkSelf, Set<ca.uhn.fhir.model.api.Include> theIncludes, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType, String theSearchId) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.provider
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.api.MethodOutcome
HashMapResourceProvider.create
(T theResource, RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.MethodOutcome
HashMapResourceProvider.delete
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails) protected static <T extends org.hl7.fhir.instance.model.api.IBaseResource>
List<org.hl7.fhir.instance.model.api.IBaseResource> HashMapResourceProvider.fireInterceptorsAndFilterAsNeeded
(List<T> theResources, RequestDetails theRequestDetails) protected String
ServerCapabilityStatementProvider.getOperationDefinitionPrefix
(RequestDetails theRequestDetails) org.hl7.fhir.instance.model.api.IBaseConformance
ServerCapabilityStatementProvider.getServerConformance
(jakarta.servlet.http.HttpServletRequest theRequest, RequestDetails theRequestDetails) List
<org.hl7.fhir.instance.model.api.IBaseResource> HashMapResourceProvider.historyInstance
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails) HashMapResourceProvider.read
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails) HashMapResourceProvider.read
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails, boolean theDeletedOk) org.hl7.fhir.instance.model.api.IBaseResource
ServerCapabilityStatementProvider.readOperationDefinition
(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails) HashMapResourceProvider.searchAll
(RequestDetails theRequestDetails) ca.uhn.fhir.rest.api.MethodOutcome
HashMapResourceProvider.update
(T theResource, String theConditional, RequestDetails theRequestDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.servlet
-
Uses of RequestDetails in ca.uhn.fhir.rest.server.tenant
Modifier and TypeMethodDescriptionvoid
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 and populate it in thesetTenantId(String)
.void
UrlBaseTenantIdentificationStrategy.extractTenant
(ca.uhn.fhir.util.UrlPathTokenizer theUrlPathTokenizer, RequestDetails theRequestDetails) ITenantIdentificationStrategy.massageServerBaseUrl
(String theFhirServerBase, RequestDetails theRequestDetails) Implementations may use this method to tweak the server base URL if necessary based on the tenant IDUrlBaseTenantIdentificationStrategy.massageServerBaseUrl
(String theFhirServerBase, RequestDetails theRequestDetails) ITenantIdentificationStrategy.resolveRelativeUrl
(String theRelativeUrl, RequestDetails theRequestDetails) Implementations may use this method to resolve relative URL based on the tenant ID from RequestDetails.UrlBaseTenantIdentificationStrategy.resolveRelativeUrl
(String theRelativeUrl, RequestDetails theRequestDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.util
Modifier and TypeMethodDescriptionprotected RestfulServerConfiguration
BaseServerCapabilityStatementProvider.getServerConfiguration
(RequestDetails theRequestDetails) static ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
CompositeInterceptorBroadcaster.newCompositeBroadcaster
(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails)