public class ServletRestfulResponse extends RestfulResponse<ServletRequestDetails>
| Constructor and Description |
|---|
ServletRestfulResponse(ServletRequestDetails servletRequestDetails) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
getResponseWriter(int theStatusCode,
String theStatusMessage,
String theContentType,
String theCharset,
boolean theRespondGzip) |
Object |
returnResponse(ParseAction<?> outcome,
int operationStatus,
boolean allowPrefer,
MethodOutcome response,
String resourceName)
This is only used for DSTU1 getTags operations, so it can be removed at some point when we
drop DSTU1
|
Object |
sendAttachmentResponse(IBaseBinary bin,
int stausCode,
String contentType) |
Object |
sendWriterResponse(int theStatus,
String theContentType,
String theCharset,
Writer theWriter) |
addHeader, getHeaders, getRequestDetails, setOperationResourceId, setOperationResourceLastUpdated, setRequestDetails, streamResponseAsBundle, streamResponseAsResourcepublic ServletRestfulResponse(ServletRequestDetails servletRequestDetails)
public Object sendAttachmentResponse(IBaseBinary bin, int stausCode, String contentType) throws IOException
IOExceptionpublic Writer getResponseWriter(int theStatusCode, String theStatusMessage, String theContentType, String theCharset, boolean theRespondGzip) throws UnsupportedEncodingException, IOException
public final Object sendWriterResponse(int theStatus, String theContentType, String theCharset, Writer theWriter) throws IOException
IOExceptionpublic Object returnResponse(ParseAction<?> outcome, int operationStatus, boolean allowPrefer, MethodOutcome response, String resourceName) throws IOException
IRestfulResponseIOExceptionCopyright © 2014–2017 University Health Network. All rights reserved.