@Deprecated public class SoapResponseWriter extends AbstractResponseWriter<SOAPMessage>
SOAPMessage objects| Modifier and Type | Field and Description |
|---|---|
static ResponseWriterKey |
KEY
Deprecated.
|
| Constructor and Description |
|---|
SoapResponseWriter(EncoderRepository encoderRepository)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MediaType |
getContentType()
Deprecated.
Get the current contentType
|
Set<ResponseWriterKey> |
getKeys()
Deprecated.
|
void |
setContentType(MediaType contentType)
Deprecated.
Set the contentType
|
boolean |
supportsGZip(SOAPMessage t)
Deprecated.
Check if GZip is supported by this writer
|
void |
write(SOAPMessage t,
OutputStream out,
ResponseProxy responseProxy)
Deprecated.
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 Set<ResponseWriterKey> getKeys()
public void write(SOAPMessage t, OutputStream out, ResponseProxy responseProxy) throws IOException, EncodingException
ResponseWriterOutputStream outt - Object to writeout - OutputStream to be written toresponseProxy - ResponseProxy giving access to header and content length settersIOException - If an error occurs during writingEncodingException - if an errors occurs during encodingpublic MediaType getContentType()
ResponseWritergetContentType in interface ResponseWriter<SOAPMessage>getContentType in class AbstractResponseWriter<SOAPMessage>public void setContentType(MediaType contentType)
ResponseWritersetContentType in interface ResponseWriter<SOAPMessage>setContentType in class AbstractResponseWriter<SOAPMessage>contentType - to setpublic boolean supportsGZip(SOAPMessage t)
ResponseWritert - Object to writetrue, if GZip is supportedCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.