org.jvnet.ws.message
Class ContentType.DepContentTypeImpl
java.lang.Object
org.jvnet.ws.message.ContentType.DepContentTypeImpl
- All Implemented Interfaces:
- ContentType
- Enclosing interface:
- ContentType
public static class ContentType.DepContentTypeImpl
- extends Object
- implements ContentType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentType.DepContentTypeImpl
public ContentType.DepContentTypeImpl(ContentType delegate)
getContentType
public String getContentType()
- Description copied from interface:
ContentType
- Gives non-null Content-Type header value.
- Specified by:
getContentType in interface ContentType
getSOAPActionHeader
public String getSOAPActionHeader()
- Description copied from interface:
ContentType
- Gives SOAPAction transport header value. It will be non-null only for SOAP 1.1 messages. In other cases
it MUST be null. The SOAPAction transport header should be written out only when its non-null.
- Specified by:
getSOAPActionHeader in interface ContentType
- Returns:
- It can be null, in that case SOAPAction header should be written.
getAcceptHeader
public String getAcceptHeader()
- Description copied from interface:
ContentType
- Controls the Accept transport header, if the transport supports it.
Returning null means the transport need not add any new header.
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.
- Specified by:
getAcceptHeader in interface ContentType
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.