public interface IRestfulResponse
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String headerKey,
String headerValue) |
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 status,
String contentType,
String charset,
Writer writer) |
void |
setOperationResourceId(IIdType theOperationResourceId) |
void |
setOperationResourceLastUpdated(IPrimitiveType<Date> theOperationResourceLastUpdated) |
Object |
streamResponseAsBundle(Bundle bundle,
Set<SummaryEnum> summaryMode,
boolean respondGzip,
boolean requestIsBrowser) |
Object |
streamResponseAsResource(IBaseResource theActualResourceToReturn,
boolean thePrettyPrint,
Set<SummaryEnum> theSummaryMode,
int theStatusCode,
String theStatusMessage,
boolean theRespondGzip,
boolean theAddContentLocation) |
Object streamResponseAsResource(IBaseResource theActualResourceToReturn, boolean thePrettyPrint, Set<SummaryEnum> theSummaryMode, int theStatusCode, String theStatusMessage, boolean theRespondGzip, boolean theAddContentLocation) 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 theStatusCode, String theStatusMessage, String theContentType, String theCharset, boolean theRespondGzip) 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
IOExceptionvoid setOperationResourceLastUpdated(IPrimitiveType<Date> theOperationResourceLastUpdated)
void setOperationResourceId(IIdType theOperationResourceId)
Copyright © 2014–2017 University Health Network. All rights reserved.