public interface IRestfulResponse
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String headerKey,
String headerValue) |
Writer |
getResponseWriter(int statusCode,
String contentType,
String charset,
boolean respondGzip) |
Object |
returnResponse(ParseAction<?> outcome,
int operationStatus,
boolean allowPrefer,
MethodOutcome response,
String resourceName) |
Object |
sendAttachmentResponse(IBaseBinary bin,
int stausCode,
String contentType) |
Object |
sendWriterResponse(int status,
String contentType,
String charset,
Writer writer) |
Object |
streamResponseAsBundle(Bundle bundle,
Set<SummaryEnum> summaryMode,
boolean respondGzip,
boolean requestIsBrowser) |
Object |
streamResponseAsResource(IBaseResource resource,
boolean prettyPrint,
Set<SummaryEnum> summaryMode,
int operationStatus,
boolean respondGzip,
boolean addContentLocationHeader) |
Object streamResponseAsResource(IBaseResource resource, boolean prettyPrint, Set<SummaryEnum> summaryMode, int operationStatus, boolean respondGzip, boolean addContentLocationHeader) throws IOException
IOExceptionObject streamResponseAsBundle(Bundle bundle, Set<SummaryEnum> summaryMode, boolean respondGzip, boolean requestIsBrowser) throws IOException
IOExceptionObject returnResponse(ParseAction<?> outcome, int operationStatus, boolean allowPrefer, MethodOutcome response, String resourceName) throws IOException
IOExceptionWriter getResponseWriter(int statusCode, String contentType, String charset, boolean respondGzip) throws UnsupportedEncodingException, IOException
Object sendWriterResponse(int status, String contentType, String charset, Writer writer) throws IOException
IOExceptionObject sendAttachmentResponse(IBaseBinary bin, int stausCode, String contentType) throws IOException
IOExceptionCopyright © 2014–2016 University Health Network. All rights reserved.