public abstract class AbstractHttpWebServiceMessageSender extends Object implements WebServiceMessageSender
WebServiceMessageSender
implementations that use
HTTP.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses.
|
Constructor and Description |
---|
AbstractHttpWebServiceMessageSender() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptGzipEncoding()
Return whether to accept GZIP encoding, that is, whether to send the HTTP
Accept-Encoding header
with gzip as value. |
void |
setAcceptGzipEncoding(boolean acceptGzipEncoding)
Set whether to accept GZIP encoding, that is, whether to send the HTTP
Accept-Encoding header with
gzip as value. |
boolean |
supports(URI uri)
Does this
WebServiceMessageSender support the supplied URI? |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnection
protected final org.apache.commons.logging.Log logger
public boolean isAcceptGzipEncoding()
Accept-Encoding
header
with gzip
as value.public void setAcceptGzipEncoding(boolean acceptGzipEncoding)
Accept-Encoding
header with
gzip
as value.
Default is true
. Turn this flag off if you do not want GZIP response compression even if enabled on
the HTTP server.
public boolean supports(URI uri)
WebServiceMessageSender
WebServiceMessageSender
support the supplied URI?supports
in interface WebServiceMessageSender
uri
- the URI to be checkedtrue
if this WebServiceMessageSender
supports the supplied URI