public class RequestDetailProvider
extends ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
RequestDetails
and make it available to downstream processing. This
needs to be thread local, because the request details are normally not forwarded to
the resource provider methods.Constructor and Description |
---|
RequestDetailProvider() |
Modifier and Type | Method and Description |
---|---|
static ca.uhn.fhir.rest.api.server.RequestDetails |
getRequestDetails() |
boolean |
handleException(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails,
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
void |
incomingRequestPreHandled(ca.uhn.fhir.rest.api.RestOperationTypeEnum operation,
ca.uhn.fhir.rest.server.interceptor.IServerInterceptor.ActionRequestDetails processedRequest) |
void |
processingCompletedNormally(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails) |
public static ca.uhn.fhir.rest.api.server.RequestDetails getRequestDetails()
public void incomingRequestPreHandled(ca.uhn.fhir.rest.api.RestOperationTypeEnum operation, ca.uhn.fhir.rest.server.interceptor.IServerInterceptor.ActionRequestDetails processedRequest)
incomingRequestPreHandled
in interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor
incomingRequestPreHandled
in class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
public void processingCompletedNormally(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
processingCompletedNormally
in interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor
processingCompletedNormally
in class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
public boolean handleException(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse)
handleException
in interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor
handleException
in class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
Copyright © 2018 Open eHealth Foundation. All rights reserved.