public class SoapChainResponseWriter extends AbstractResponseWriter<SoapChain>
| Modifier and Type | Field and Description |
|---|---|
static ResponseWriterKey |
KEY |
| Constructor and Description |
|---|
SoapChainResponseWriter(EncoderRepository encoderRepository,
Producer<org.apache.xmlbeans.XmlOptions> xmlOptions,
boolean forceStreamingEncoding) |
| Modifier and Type | Method and Description |
|---|---|
Set<ResponseWriterKey> |
getKeys() |
boolean |
supportsGZip(SoapChain t)
Check if GZip is supported by this writer
|
void |
write(SoapChain chain,
OutputStream out,
ResponseProxy responseProxy)
Write object t to
OutputStream out |
getContentType, getEncodedContentType, getEncoder, getEncoderRepository, setContentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetForcedHttpStatus, hasForcedHttpStatus, isSetContentTypepublic static final ResponseWriterKey KEY
public SoapChainResponseWriter(EncoderRepository encoderRepository, Producer<org.apache.xmlbeans.XmlOptions> xmlOptions, boolean forceStreamingEncoding)
public Set<ResponseWriterKey> getKeys()
public void write(SoapChain chain, OutputStream out, ResponseProxy responseProxy) throws IOException
ResponseWriterOutputStream outchain - Object to writeout - OutputStream to be written toresponseProxy - ResponseProxy giving access to header and content length settersIOException - If an error occurs during writingpublic boolean supportsGZip(SoapChain t)
ResponseWritert - Object to writetrue, if GZip is supportedCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.