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()
com.oracle.webservices.api.message.ContentTypegetContentType in interface com.oracle.webservices.api.message.ContentTypepublic String getSOAPActionHeader()
com.oracle.webservices.api.message.ContentTypegetSOAPActionHeader in interface com.oracle.webservices.api.message.ContentTypepublic String getAcceptHeader()
com.oracle.webservices.api.message.ContentTypeWe 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 com.oracle.webservices.api.message.ContentTypepublic 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 © 2015 Oracle Corporation. All rights reserved.