Uses of Class
ca.uhn.fhir.rest.api.server.RequestDetails
-
-
Uses of RequestDetails in ca.uhn.fhir.rest.api.server
Classes in ca.uhn.fhir.rest.api.server with type parameters of type RequestDetails Modifier and Type Interface Description interfaceIRestfulServer<T extends RequestDetails> -
Uses of RequestDetails in ca.uhn.fhir.rest.server
Classes in ca.uhn.fhir.rest.server with type parameters of type RequestDetails Modifier and Type Class Description classRestfulResponse<T extends RequestDetails>Methods in ca.uhn.fhir.rest.server with parameters of type RequestDetails Modifier and Type Method Description static voidRestfulServerUtils. configureResponseParser(RequestDetails theRequestDetails, ca.uhn.fhir.parser.IParser parser)static StringRestfulServerUtils. 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 StringRestfulServerUtils. 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.EncodingEnumRestfulServerUtils. determineRequestEncoding(RequestDetails theReq)static ca.uhn.fhir.rest.api.EncodingEnumRestfulServerUtils. determineRequestEncodingNoDefault(RequestDetails theReq)BaseMethodBinding<?>RestfulServer. determineResourceMethod(RequestDetails requestDetails, String requestPath)Figure out and return whichever method binding is appropriate for the given requeststatic RestfulServerUtils.ResponseEncodingRestfulServerUtils. determineResponseEncodingNoDefault(RequestDetails theReq, ca.uhn.fhir.rest.api.EncodingEnum thePrefer)Returns null if the request doesn't express that it wants FHIR.static RestfulServerUtils.ResponseEncodingRestfulServerUtils. 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.ResponseEncodingRestfulServerUtils. 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 IntegerRestfulServerUtils. extractCountParameter(RequestDetails theRequest)BaseMethodBinding<?>ResourceBinding. getMethod(RequestDetails theRequest)static ca.uhn.fhir.parser.IParserRestfulServerUtils. getNewParser(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.context.FhirVersionEnum theForVersion, RequestDetails theRequestDetails)ObjectIRestfulServerUtil. getRequestResource(RequestDetails theRequest, TransactionParameter.ParamStyle myParamStyle, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceBundleType)ObjectIRestfulServerUtil. getResourceParameter(RequestDetails requestDetails, ResourceParameter.Mode myMode, BaseMethodBinding<?> theMethodBinding, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> myResourceType)TIServerConformanceProvider. getServerConformance(javax.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.IBaseResourceIRestfulServerUtil. parseResourceFromRequest(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResourceType)voidRestfulServer. populateRequestDetailsFromRequestPath(RequestDetails theRequestDetails, String theRequestPath)static booleanRestfulServerUtils. prettyPrintResponse(IRestfulServerDefaults theServer, RequestDetails theRequest)IBundleProviderFifoMemoryPagingProvider. retrieveResultList(RequestDetails theRequest, String theId)IBundleProviderIPagingProvider. retrieveResultList(RequestDetails theRequestDetails, String theSearchId)Retrieve a result list by IDdefault IBundleProviderIPagingProvider. retrieveResultList(RequestDetails theRequestDetails, String theSearchId, String thePageId)Retrieve a result list by IDStringFifoMemoryPagingProvider. storeResultList(RequestDetails theRequestDetails, IBundleProvider theList)StringIPagingProvider. storeResultList(RequestDetails theRequestDetails, IBundleProvider theList)Stores a result list and returns an ID with which that list can be returnedstatic ObjectRestfulServerUtils. 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 ObjectRestfulServerUtils. 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 voidRestfulServer. throwUnknownFhirOperationException(RequestDetails requestDetails, String requestPath, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType)static voidRestfulServer. throwUnknownFhirOperationException(RequestDetails requestDetails, String requestPath, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, ca.uhn.fhir.context.FhirContext theFhirContext)static IntegerRestfulServerUtils. tryToExtractNamedParameter(RequestDetails theRequest, String theParamName) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor
Methods in ca.uhn.fhir.rest.server.interceptor that return RequestDetails Modifier and Type Method Description RequestDetailsIServerInterceptor.ActionRequestDetails. getRequestDetails()Deprecated.Returns the request details associated with this requestMethods in ca.uhn.fhir.rest.server.interceptor with parameters of type RequestDetails Modifier and Type Method Description voidCaptureResourceSourceFromHeaderInterceptor. extractSource(RequestDetails theRequestDetails)protected voidBaseValidatingInterceptor. fail(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult)Fail the request by throwing anUnprocessableEntityExceptionas a result of a validation failure.ObjectExceptionHandlingInterceptor. handleException(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException)booleanExceptionHandlingInterceptor. handleException(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, javax.servlet.http.HttpServletRequest theRequest, javax.servlet.http.HttpServletResponse theResponse)booleanInterceptorAdapter. handleException(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanIServerInterceptor. 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.booleanLoggingInterceptor. handleException(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanResponseHighlighterInterceptor. handleException(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanInterceptorAdapter. incomingRequestPostProcessed(RequestDetails theRequestDetails, javax.servlet.http.HttpServletRequest theRequest, javax.servlet.http.HttpServletResponse theResponse)booleanIServerInterceptor. 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.booleanRequestValidatingInterceptor. incomingRequestPostProcessed(RequestDetails theRequestDetails, javax.servlet.http.HttpServletRequest theRequest, javax.servlet.http.HttpServletResponse theResponse)booleanVerboseLoggingInterceptor. incomingRequestPostProcessed(RequestDetails theRequestDetails, javax.servlet.http.HttpServletRequest theRequest, javax.servlet.http.HttpServletResponse theResponse)booleanResponseHighlighterInterceptor. outgoingGraphqlResponse(RequestDetails theRequestDetails, String theRequest, String theResponse, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, ca.uhn.fhir.model.api.TagList theResponseObject)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, ca.uhn.fhir.model.api.TagList theResponseObject, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, ResponseDetails theResponseDetails, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject)booleanInterceptorAdapter. outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanIServerInterceptor. 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.booleanIServerInterceptor. 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.booleanIServerInterceptor. 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.booleanIServerInterceptor. 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.booleanIServerInterceptor. 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.booleanIServerInterceptor. 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.booleanIServerInterceptor. 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 ofIServerInterceptor.outgoingResponse(RequestDetails, ResponseDetails, HttpServletRequest, HttpServletResponse)and will be removed in a future version of HAPI FHIR.booleanRequestValidatingInterceptor. outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject)booleanResponseHighlighterInterceptor. outgoingResponse(RequestDetails theRequestDetails, ResponseDetails theResponseObject, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)booleanResponseValidatingInterceptor. outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject)booleanServeMediaResourceRawInterceptor. outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)protected voidBaseValidatingInterceptor. postProcessResult(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult)Hook for subclasses (e.g.protected voidBaseValidatingInterceptor. postProcessResultOnFailure(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult)Hook for subclasses on failure (e.g.ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionExceptionHandlingInterceptor. preProcessOutgoingException(RequestDetails theRequestDetails, Throwable theException, javax.servlet.http.HttpServletRequest theServletRequest)ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionInterceptorAdapter. preProcessOutgoingException(RequestDetails theRequestDetails, Throwable theException, javax.servlet.http.HttpServletRequest theServletRequest)ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionIServerInterceptor. 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.voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. resourceCreated(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource)voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. resourceDeleted(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource)voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. resourcePreCreate(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource)voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. resourcePreDelete(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource)voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. resourcePreUpdate(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource)voidIServerOperationInterceptor. 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)voidIServerOperationInterceptor. 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.voidServerOperationInterceptorAdapter. 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)voidServerOperationInterceptorAdapter. resourceUpdated(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource)protected ca.uhn.fhir.validation.ValidationResultBaseValidatingInterceptor. validate(T theRequest, RequestDetails theRequestDetails)Note: May return nullConstructors in ca.uhn.fhir.rest.server.interceptor with parameters of type RequestDetails Constructor Description ActionRequestDetails(RequestDetails theRequestDetails)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)Deprecated.ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId)Deprecated.Constructor -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.auth
Methods in ca.uhn.fhir.rest.server.interceptor.auth with parameters of type RequestDetails Modifier and Type Method Description booleanRuleBuilder.ITenantApplicabilityChecker. applies(RequestDetails theRequest)AuthorizationInterceptor.VerdictIAuthRule. 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, ornullif the rule does not applyAuthorizationInterceptor.VerdictRuleImplConditional. 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.VerdictAuthorizationInterceptor. 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)AuthorizationInterceptor.VerdictIRuleApplier. 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 AuthorizedListSearchNarrowingInterceptor. 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 voidAuthorizationInterceptor. handleDeny(RequestDetails theRequestDetails, AuthorizationInterceptor.Verdict decision)Handle an access control verdict ofPolicyEnum.DENY.voidAuthorizationInterceptor. hookCascadeDeleteForConflict(RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, org.hl7.fhir.instance.model.api.IBaseResource theResourceToDelete)voidAuthorizationInterceptor. hookOutgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)voidAuthorizationInterceptor. hookPreShow(RequestDetails theRequestDetails, IPreResourceShowDetails theDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)voidAuthorizationInterceptor. hookResourcePreCreate(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)voidAuthorizationInterceptor. hookResourcePreDelete(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)voidAuthorizationInterceptor. 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)booleanSearchNarrowingInterceptor. incomingRequestPostProcessed(RequestDetails theRequestDetails, javax.servlet.http.HttpServletRequest theRequest, javax.servlet.http.HttpServletResponse theResponse)voidAuthorizationInterceptor. incomingRequestPreHandled(RequestDetails theRequest, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)booleanIAuthRuleTester. 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. -
Uses of RequestDetails in ca.uhn.fhir.rest.server.interceptor.consent
Methods in ca.uhn.fhir.rest.server.interceptor.consent with parameters of type RequestDetails Modifier and Type Method Description ConsentOutcomeDelegatingConsentService. canSeeResource(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices)ConsentOutcomeIConsentService. 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.voidDelegatingConsentService. completeOperationFailure(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, IConsentContextServices theContextServices)voidIConsentService. completeOperationFailure(RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, IConsentContextServices theContextServices)This method is called when an operation is complete.voidDelegatingConsentService. completeOperationSuccess(RequestDetails theRequestDetails, IConsentContextServices theContextServices)voidIConsentService. completeOperationSuccess(RequestDetails theRequestDetails, IConsentContextServices theContextServices)This method is called when an operation is complete.static IdentityHashMap<org.hl7.fhir.instance.model.api.IBaseResource,Boolean>ConsentInterceptor. getAlreadySeenResourcesMap(RequestDetails theRequestDetails, String theKey)voidConsentInterceptor. interceptOutgoingResponse(RequestDetails theRequestDetails, ResponseDetails theResource)voidConsentInterceptor. interceptPreAccess(RequestDetails theRequestDetails, IPreResourceAccessDetails thePreResourceAccessDetails)booleanConsentInterceptor. interceptPreCheckForCachedSearch(RequestDetails theRequestDetails)voidConsentInterceptor. interceptPreHandled(RequestDetails theRequestDetails)voidConsentInterceptor. interceptPreSearchRegistered(RequestDetails theRequestDetails, ICachedSearchDetails theCachedSearchDetails)voidConsentInterceptor. interceptPreShow(RequestDetails theRequestDetails, IPreResourceShowDetails thePreResourceShowDetails)voidConsentInterceptor. requestFailed(RequestDetails theRequest, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException)voidConsentInterceptor. requestSucceeded(RequestDetails theRequest)ConsentOutcomeDelegatingConsentService. startOperation(RequestDetails theRequestDetails, IConsentContextServices theContextServices)ConsentOutcomeIConsentService. startOperation(RequestDetails theRequestDetails, IConsentContextServices theContextServices)This method is called when an operation is initially beginning, before any significant processing occurs.ConsentOutcomeDelegatingConsentService. willSeeResource(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, IConsentContextServices theContextServices)ConsentOutcomeIConsentService. 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. -
Uses of RequestDetails in ca.uhn.fhir.rest.server.method
Methods in ca.uhn.fhir.rest.server.method with parameters of type RequestDetails Modifier and Type Method Description protected voidDeleteMethodBinding. addParametersForServerRequest(RequestDetails theRequest, Object[] theParams)protected voidPatchMethodBinding. addParametersForServerRequest(RequestDetails theRequest, Object[] theParams)protected voidUpdateMethodBinding. addParametersForServerRequest(RequestDetails theRequest, Object[] theParams)static org.hl7.fhir.instance.model.api.IIdTypeUpdateMethodBinding. applyETagAsVersion(RequestDetails theRequest, org.hl7.fhir.instance.model.api.IIdType id)static voidBaseResourceReturningMethodBinding. callOutgoingFailureOperationOutcomeHook(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseOperationOutcome theOperationOutcome)static booleanBaseResourceReturningMethodBinding. callOutgoingResponseHook(RequestDetails theRequest, ResponseDetails theResponseDetails)protected Object[]BaseMethodBinding. createMethodParams(RequestDetails theRequest)protected Object[]BaseMethodBinding. createParametersForServerRequest(RequestDetails theRequest)static ReaderResourceParameter. createRequestReader(RequestDetails theRequest)static CharsetResourceParameter. determineRequestCharset(RequestDetails theRequest)org.hl7.fhir.instance.model.api.IBaseResourceBaseResourceReturningMethodBinding. doInvokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)org.hl7.fhir.instance.model.api.IBaseResourcePageMethodBinding. doInvokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)static Set<String>ElementsParameter. getElementsValueOrNull(RequestDetails theRequest, boolean theExclude)ca.uhn.fhir.rest.api.RestOperationTypeEnumBaseMethodBinding. getRestOperationType(RequestDetails theRequestDetails)Determine which operation is being fired for a specific requestca.uhn.fhir.rest.api.RestOperationTypeEnumOperationMethodBinding. getRestOperationType(RequestDetails theRequestDetails)ca.uhn.fhir.rest.api.RestOperationTypeEnumReadMethodBinding. getRestOperationType(RequestDetails theRequestDetails)static Set<ca.uhn.fhir.rest.api.SummaryEnum>SummaryEnumParameter. getSummaryValueOrNull(RequestDetails theRequest)abstract booleanBaseMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanConformanceMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanGraphQLMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanHistoryMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanOperationMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanPageMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanPatchMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanReadMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanSearchMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)booleanTransactionMethodBinding. incomingServerRequestMatchesMethod(RequestDetails theRequest)abstract ObjectBaseMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)ObjectBaseResourceReturningMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)abstract ObjectBaseResourceReturningMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)IBundleProviderConformanceMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)ObjectGraphQLMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)IBundleProviderHistoryMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)ObjectOperationMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest)ObjectOperationMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)ObjectPageMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)IBundleProviderReadMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)IBundleProviderSearchMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)ObjectTransactionMethodBinding. invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)protected ObjectBaseMethodBinding. invokeServerMethod(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams)protected voidBaseMethodBinding. populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails, IServerInterceptor.ActionRequestDetails theDetails, Object[] theMethodParams)Subclasses may override this method (but should also call super.BaseMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails, ActionRequestDetails, Object[])to provide method specifics to the interceptors.protected voidOperationMethodBinding. populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails, IServerInterceptor.ActionRequestDetails theDetails, Object[] theMethodParams)protected voidTransactionMethodBinding. populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails, IServerInterceptor.ActionRequestDetails theDetails, Object[] theMethodParams)ObjectBaseQueryParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectCountParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectElementsParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectGraphQLQueryParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectIParameter. 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.ObjectOperationParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectRawParamsParmeter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectRequestDetailsParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectResourceParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectSortParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectSummaryEnumParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding)ObjectTransactionParameter. translateQueryParametersIntoServerArgument(RequestDetails theRequest, BaseMethodBinding<?> theMethodBinding) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.provider
Methods in ca.uhn.fhir.rest.server.provider with parameters of type RequestDetails Modifier and Type Method Description List<T>HashMapResourceProvider. historyInstance(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails)THashMapResourceProvider. read(org.hl7.fhir.instance.model.api.IIdType theId, RequestDetails theRequestDetails)List<T>HashMapResourceProvider. searchAll(RequestDetails theRequestDetails)List<T>HashMapResourceProvider. searchById(ca.uhn.fhir.rest.param.TokenAndListParam theIds, RequestDetails theRequestDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.servlet
Subclasses of RequestDetails in ca.uhn.fhir.rest.server.servlet Modifier and Type Class Description classServletRequestDetailsclassServletSubRequestDetails -
Uses of RequestDetails in ca.uhn.fhir.rest.server.tenant
Methods in ca.uhn.fhir.rest.server.tenant with parameters of type RequestDetails Modifier and Type Method Description voidITenantIdentificationStrategy. 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 thesetTenantId(String).voidUrlBaseTenantIdentificationStrategy. extractTenant(ca.uhn.fhir.util.UrlPathTokenizer theUrlPathTokenizer, RequestDetails theRequestDetails)StringITenantIdentificationStrategy. massageServerBaseUrl(String theFhirServerBase, RequestDetails theRequestDetails)Implementations may use this method to tweak the server base URL if necessary based on the tenant IDStringUrlBaseTenantIdentificationStrategy. massageServerBaseUrl(String theFhirServerBase, RequestDetails theRequestDetails) -
Uses of RequestDetails in ca.uhn.fhir.rest.server.util
Methods in ca.uhn.fhir.rest.server.util with parameters of type RequestDetails Modifier and Type Method Description protected RestfulServerConfigurationBaseServerCapabilityStatementProvider. getServerConfiguration(RequestDetails theRequestDetails)
-