public final class ContentTypeImpl extends Object implements ContentType
Modifier and Type | Class and Description |
---|---|
static class |
ContentTypeImpl.Builder |
Constructor and Description |
---|
ContentTypeImpl(String contentType) |
ContentTypeImpl(String contentType,
String soapAction) |
ContentTypeImpl(String contentType,
String soapAction,
String accept) |
ContentTypeImpl(String contentType,
String soapAction,
String accept,
String charsetParam) |
Modifier and Type | Method and Description |
---|---|
String |
getAcceptHeader()
Controls the Accept transport header, if the transport supports it.
|
String |
getBoundary() |
String |
getBoundaryParameter() |
String |
getCharSet()
Returns the character set encoding.
|
String |
getContentType()
Gives non-null Content-Type header value.
|
String |
getRootId() |
String |
getSOAPActionHeader()
Gives SOAPAction transport header value.
|
void |
setAcceptHeader(String accept) |
void |
setBoundary(String boundary) |
void |
setBoundaryParameter(String boundaryParameter) |
void |
setRootId(String rootId) |
public ContentTypeImpl(String contentType)
public ContentTypeImpl(String contentType, @Nullable String soapAction, @Nullable String accept)
@Nullable public String getCharSet()
public String getContentType()
org.jvnet.ws.message.ContentType
getContentType
in interface org.jvnet.ws.message.ContentType
public String getSOAPActionHeader()
org.jvnet.ws.message.ContentType
getSOAPActionHeader
in interface org.jvnet.ws.message.ContentType
public String getAcceptHeader()
org.jvnet.ws.message.ContentType
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.
getAcceptHeader
in interface org.jvnet.ws.message.ContentType
public void setAcceptHeader(String accept)
public String getBoundary()
public void setBoundary(String boundary)
public String getBoundaryParameter()
public void setBoundaryParameter(String boundaryParameter)
public String getRootId()
public void setRootId(String rootId)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.