Package com.sun.xml.ws.encoding
Class ContentTypeImpl
java.lang.Object
com.sun.xml.ws.encoding.ContentTypeImpl
- All Implemented Interfaces:
ContentType,ContentType
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionContentTypeImpl(String contentType) ContentTypeImpl(String contentType, String soapAction) ContentTypeImpl(String contentType, String soapAction, String accept) ContentTypeImpl(String contentType, String soapAction, String accept, String charsetParam) -
Method Summary
Modifier and TypeMethodDescriptionControls the Accept transport header, if the transport supports it.Returns the character set encoding.Gives non-null Content-Type header value.Gives SOAPAction transport header value.voidsetAcceptHeader(String accept) voidsetBoundary(String boundary) voidsetBoundaryParameter(String boundaryParameter) void
-
Constructor Details
-
ContentTypeImpl
-
ContentTypeImpl
-
ContentTypeImpl
-
ContentTypeImpl
-
-
Method Details
-
getCharSet
Returns the character set encoding.- Returns:
- returns the character set encoding.
-
getContentType
Description copied from interface:ContentTypeGives non-null Content-Type header value.- Specified by:
getContentTypein interfaceContentType
-
getSOAPActionHeader
Description copied from interface:ContentTypeGives 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:
getSOAPActionHeaderin interfaceContentType- Returns:
- It can be null, in that case SOAPAction header should be written.
-
getAcceptHeader
Description copied from interface:ContentTypeControls 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:
getAcceptHeaderin interfaceContentType
-
setAcceptHeader
-
getBoundary
-
setBoundary
-
getBoundaryParameter
-
setBoundaryParameter
-
getRootId
-
setRootId
-