public final class ContentTypeHeaderImpl extends MediaTypeHeaderImpl implements ContentTypeHeader
NAME| Constructor and Description |
|---|
ContentTypeHeaderImpl(Buffer mType,
Buffer subType,
Buffer params) |
| Modifier and Type | Method and Description |
|---|---|
ContentTypeHeader |
clone() |
ContentTypeHeader |
ensure()
If this method actually gets called it means that we are the As most things in this library are done lazily, such as framing headers, you can make sure
that a particular header has indeed been parsed to the more specific header type by calling
this method.
|
protected void |
transferValue(Buffer dst)
Transfer the bytes of the value into the destination.
|
getContentSubType, getContentType, getValue, isSDPgetParameter, getParameter, setParameter, setParametergetBytes, getName, toString, verifyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitframegetContentSubType, getContentType, isSDPgetParameter, getParameter, setParameter, setParameterpublic ContentTypeHeader clone()
clone in interface ContentTypeHeaderclone in interface SipHeaderclone in class SipHeaderImplprotected void transferValue(Buffer dst)
SipHeaderImpltransferValue in class ParametersImplpublic ContentTypeHeader ensure()
SipHeaderImplContactHeader but it is still in its "raw" form and therefore represented as a
SipHeader as opposed to an actual ContactHeader but by calling this method
you will force the library to actually fully frame it.ensure in interface SipHeaderensure in class MediaTypeHeaderImplCopyright © 2017. All Rights Reserved.