public interface ContentType
MessageContext#write(java.io.OutputStream)
.
It will provide the Content-Type header and also take care of SOAP 1.1 SOAPAction header.Modifier and Type | Interface and Description |
---|---|
static class |
ContentType.Builder |
Modifier and Type | Method and Description |
---|---|
String |
getAcceptHeader()
Controls the Accept transport header, if the transport supports it.
|
String |
getContentType()
Gives non-null Content-Type header value.
|
String |
getSOAPActionHeader()
Gives SOAPAction transport header value.
|
String getContentType()
String getSOAPActionHeader()
String getAcceptHeader()
We realize that this is not an elegant abstraction, but this would do for now. If another person comes and asks for a similar functionality, we'll define a real abstraction.
Copyright © 2017 Oracle Corporation. All rights reserved.