Interface Summary Interface Description IServerInterceptorProvides methods to intercept requests and responses. IServerOperationInterceptor Deprecated.Ths interface is no longer neccessary as of HAPI FHIR 3.8.0 - You can create interceptor methods that are declared using the
Hookannotation without needing to implement any interceptor
Class Summary Class Description BanUnsupportedHttpMethodsInterceptorThis interceptor causes the server to reject invocations for HTTP methods other than those supported by the server with an HTTP 405. BaseValidatingInterceptor<T>This interceptor intercepts each incoming request and if it contains a FHIR resource, validates that resource. CaptureResourceSourceFromHeaderInterceptorThis interceptor examines a header on the incoming request and places it in
Resource.meta.source(R4 and above) or in an extension on
Resource.metawith the URL
CorsInterceptor ExceptionHandlingInterceptor FhirPathFilterInterceptorThis interceptor looks for a URL parameter on requests called
_fhirpathand replaces the resource being returned with a Parameters resource containing the results of the given FHIRPath expression evaluated against the resource that would otherwise have been returned.
InterceptorAdapterBase class for
InterceptorOrders IServerInterceptor.ActionRequestDetails Deprecated.This class doesn't bring anything that can't be done with
LoggingInterceptorServer interceptor which logs each request using a defined format RequestValidatingInterceptorThis interceptor intercepts each incoming request and if it contains a FHIR resource, validates that resource. ResponseHighlighterInterceptorThis interceptor detects when a request is coming from a browser, and automatically returns a response with syntax highlighted (coloured) HTML for the response instead of just returning raw XML/JSON. ResponseSizeCapturingInterceptorThis interceptor captures and makes available the number of characters written (pre-compression if Gzip compression is being used) to the HTTP response stream for FHIR responses. ResponseSizeCapturingInterceptor.ResultContains the results of the capture ResponseValidatingInterceptorThis interceptor intercepts each outgoing response and if it contains a FHIR resource, validates that resource. ServeMediaResourceRawInterceptorThis interceptor allows a client to request that a Media resource be served as the raw contents of the resource, assuming either: The client explicitly requests the correct content type using the Accept header The client explicitly requests raw output by adding the parameter
ServerOperationInterceptorAdapterNOP implementation of
ValidationResultEnrichingInterceptor VerboseLoggingInterceptorThis interceptor creates verbose server log entries containing the complete request and response payloads.