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. BaseResponseTerminologyInterceptor 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
ConfigLoader 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 ResponseTerminologyDisplayPopulationInterceptorThis interceptor looks for coded data ( ResponseTerminologyTranslationInterceptorThis interceptor leverages ConceptMap resources stored in the repository to automatically map terminology from one CodeSystem to another at runtime, in resources that are being returned by the server. ResponseValidatingInterceptorThis interceptor intercepts each outgoing response and if it contains a FHIR resource, validates that resource. SearchPreferHandlingInterceptor 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
StaticCapabilityStatementInterceptorThis interceptor replaces the auto-generated CapabilityStatement that is generated by the HAPI FHIR Server with a static hard-coded resource. ValidationResultEnrichingInterceptor VerboseLoggingInterceptorThis interceptor creates verbose server log entries containing the complete request and response payloads.