public class ServletRestfulResponse extends RestfulResponse<ServletRequestDetails>
| Constructor and Description |
|---|
ServletRestfulResponse(ServletRequestDetails servletRequestDetails) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
getResponseWriter(int statusCode,
String contentType,
String charset,
boolean theRespondGzip) |
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) |
addHeader, getHeaders, getRequestDetails, setRequestDetails, streamResponseAsBundle, streamResponseAsResourcepublic ServletRestfulResponse(ServletRequestDetails servletRequestDetails)
public Object sendAttachmentResponse(IBaseBinary bin, int stausCode, String contentType) throws IOException
IOExceptionpublic Writer getResponseWriter(int statusCode, String contentType, String charset, boolean theRespondGzip) throws UnsupportedEncodingException, IOException
public final Object sendWriterResponse(int status, String contentType, String charset, Writer writer) throws IOException
IOExceptionpublic Object returnResponse(ParseAction<?> outcome, int operationStatus, boolean allowPrefer, MethodOutcome response, String resourceName) throws IOException
IOExceptionCopyright © 2014–2016 University Health Network. All rights reserved.