public class SoapResponseWriter extends AbstractResponseWriter<javax.xml.soap.SOAPMessage>
SOAPMessage objects| Modifier and Type | Field and Description |
|---|---|
static ResponseWriterKey |
KEY |
| Constructor and Description |
|---|
SoapResponseWriter(EncoderRepository encoderRepository) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
getContentType()
Get the current contentType
|
java.util.Set<ResponseWriterKey> |
getKeys() |
void |
setContentType(MediaType contentType)
Set the contentType
|
boolean |
supportsGZip(javax.xml.soap.SOAPMessage t)
Check if GZip is supported by this writer
|
void |
write(javax.xml.soap.SOAPMessage t,
java.io.OutputStream out,
ResponseProxy responseProxy)
Write object t to
OutputStream out |
getEncodedContentType, getEncoder, getEncoderRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetForcedHttpStatus, hasForcedHttpStatus, isSetContentTypepublic static final ResponseWriterKey KEY
public SoapResponseWriter(EncoderRepository encoderRepository)
public java.util.Set<ResponseWriterKey> getKeys()
public void write(javax.xml.soap.SOAPMessage t,
java.io.OutputStream out,
ResponseProxy responseProxy)
throws java.io.IOException,
EncodingException
ResponseWriterOutputStream outt - Object to writeout - OutputStream to be written toresponseProxy - ResponseProxy giving access to header and content length settersjava.io.IOException - If an error occurs during writingEncodingException - if an errors occurs during encodingpublic MediaType getContentType()
ResponseWritergetContentType in interface ResponseWriter<javax.xml.soap.SOAPMessage>getContentType in class AbstractResponseWriter<javax.xml.soap.SOAPMessage>public void setContentType(MediaType contentType)
ResponseWritersetContentType in interface ResponseWriter<javax.xml.soap.SOAPMessage>setContentType in class AbstractResponseWriter<javax.xml.soap.SOAPMessage>contentType - to setpublic boolean supportsGZip(javax.xml.soap.SOAPMessage t)
ResponseWritert - Object to writetrue, if GZip is supportedCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.