public class SoapResponseWriter extends AbstractResponseWriter<SOAPMessage>
SOAPMessage
objectsConstructor and Description |
---|
SoapResponseWriter() |
Modifier and Type | Method and Description |
---|---|
MediaType |
getContentType()
Get the current contentType
|
void |
setContentType(MediaType contentType)
Set the contentType
|
boolean |
supportsGZip(SOAPMessage t)
Check if GZip is supported by this writer
|
void |
write(SOAPMessage t,
OutputStream out,
ResponseProxy responseProxy)
Write object t to
OutputStream out |
getEncodedContentType, getEncoder, isSetContentType
public void write(SOAPMessage t, OutputStream out, ResponseProxy responseProxy) throws IOException
ResponseWriter
OutputStream
outt
- Object to writeout
- OutputStream
to be written toresponseProxy
- ResponseProxy
giving access to header and content length settersIOException
- If an error occurs during writingpublic MediaType getContentType()
ResponseWriter
getContentType
in interface ResponseWriter<SOAPMessage>
getContentType
in class AbstractResponseWriter<SOAPMessage>
public void setContentType(MediaType contentType)
ResponseWriter
setContentType
in interface ResponseWriter<SOAPMessage>
setContentType
in class AbstractResponseWriter<SOAPMessage>
contentType
- to setpublic boolean supportsGZip(SOAPMessage t)
ResponseWriter
t
- Object to writetrue
, if GZip is supportedCopyright © 2012-2015 52north.org. All Rights Reserved.