final class InternalAttribute extends AbstractReferenceCounted implements InterfaceHttpData
InterfaceHttpData.HttpDataType| Modifier and Type | Field and Description |
|---|---|
private java.nio.charset.Charset |
charset |
private int |
size |
private java.util.List<ByteBuf> |
value |
| Constructor and Description |
|---|
InternalAttribute(java.nio.charset.Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String value) |
void |
addValue(java.lang.String value,
int rank) |
int |
compareTo(InterfaceHttpData o) |
int |
compareTo(InternalAttribute o) |
protected void |
deallocate()
Called once
AbstractReferenceCounted.refCnt() is equals 0. |
boolean |
equals(java.lang.Object o) |
InterfaceHttpData.HttpDataType |
getHttpDataType() |
java.lang.String |
getName()
Returns the name of this InterfaceHttpData.
|
int |
hashCode() |
InterfaceHttpData |
retain()
Increases the reference count by
1. |
InterfaceHttpData |
retain(int increment)
Increases the reference count by the specified
increment. |
void |
setValue(java.lang.String value,
int rank) |
int |
size() |
ByteBuf |
toByteBuf() |
java.lang.String |
toString() |
InterfaceHttpData |
touch()
Records the current access location of this object for debugging purposes.
|
InterfaceHttpData |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
refCnt, release, release, setRefCntclone, finalize, getClass, notify, notifyAll, wait, wait, waitrefCnt, release, releaseprivate final java.util.List<ByteBuf> value
private final java.nio.charset.Charset charset
private int size
public InterfaceHttpData.HttpDataType getHttpDataType()
getHttpDataType in interface InterfaceHttpDatapublic void addValue(java.lang.String value)
public void addValue(java.lang.String value,
int rank)
public void setValue(java.lang.String value,
int rank)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(InterfaceHttpData o)
compareTo in interface java.lang.Comparable<InterfaceHttpData>public int compareTo(InternalAttribute o)
public java.lang.String toString()
toString in class java.lang.Objectpublic int size()
public ByteBuf toByteBuf()
public java.lang.String getName()
InterfaceHttpDatagetName in interface InterfaceHttpDataprotected void deallocate()
AbstractReferenceCountedAbstractReferenceCounted.refCnt() is equals 0.deallocate in class AbstractReferenceCountedpublic InterfaceHttpData retain()
ReferenceCounted1.retain in interface InterfaceHttpDataretain in interface ReferenceCountedretain in class AbstractReferenceCountedpublic InterfaceHttpData retain(int increment)
ReferenceCountedincrement.retain in interface InterfaceHttpDataretain in interface ReferenceCountedretain in class AbstractReferenceCountedpublic InterfaceHttpData touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface InterfaceHttpDatatouch in interface ReferenceCountedtouch in class AbstractReferenceCountedpublic InterfaceHttpData touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch in interface InterfaceHttpDatatouch in interface ReferenceCounted