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() |
void |
setValue(java.lang.String value,
int rank) |
int |
size() |
ByteBuf |
toByteBuf() |
java.lang.String |
toString() |
refCnt, release, release, retain, retain, setRefCntprivate 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 AbstractReferenceCounted