Class JaxRsResponse

  • All Implemented Interfaces:
    ca.uhn.fhir.rest.api.server.IRestfulResponse

    public class JaxRsResponse
    extends ca.uhn.fhir.rest.server.RestfulResponse<JaxRsRequest>
    The JaxRsResponse is a jax-rs specific implementation of the RestfulResponse.
    Author:
    Peter Van Houte | peter.vanhoute@agfa.com | Agfa Healthcare
    • Constructor Detail

    • Method Detail

      • getResponseWriter

        public Writer getResponseWriter​(int theStatusCode,
                                        String theStatusMessage,
                                        String theContentType,
                                        String theCharset,
                                        boolean theRespondGzip)
        The response writer is a simple String Writer. All output is configured by the server.
      • returnResponse

        public javax.ws.rs.core.Response returnResponse​(ca.uhn.fhir.rest.api.server.ParseAction<?> outcome,
                                                        int operationStatus,
                                                        boolean allowPrefer,
                                                        ca.uhn.fhir.rest.api.MethodOutcome response,
                                                        String resourceName)
                                                 throws IOException
        Throws:
        IOException