Class InternalAttribute
- java.lang.Object
-
- org.jboss.netty.handler.codec.http.multipart.InternalAttribute
-
- All Implemented Interfaces:
Comparable<InterfaceHttpData>,InterfaceHttpData
public class InternalAttribute extends Object implements InterfaceHttpData
This Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.netty.handler.codec.http.multipart.InterfaceHttpData
InterfaceHttpData.HttpDataType
-
-
Constructor Summary
Constructors Constructor Description InternalAttribute(Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(String value)voidaddValue(String value, int rank)intcompareTo(InterfaceHttpData o)intcompareTo(InternalAttribute o)booleanequals(Object o)InterfaceHttpData.HttpDataTypegetHttpDataType()StringgetName()Returns the name of this InterfaceHttpData.inthashCode()voidsetValue(String value, int rank)intsize()ChannelBuffertoChannelBuffer()StringtoString()
-
-
-
Constructor Detail
-
InternalAttribute
public InternalAttribute(Charset charset)
-
-
Method Detail
-
getHttpDataType
public InterfaceHttpData.HttpDataType getHttpDataType()
- Specified by:
getHttpDataTypein interfaceInterfaceHttpData- Returns:
- The HttpDataType
-
addValue
public void addValue(String value)
-
addValue
public void addValue(String value, int rank)
-
setValue
public void setValue(String value, int rank)
-
compareTo
public int compareTo(InterfaceHttpData o)
- Specified by:
compareToin interfaceComparable<InterfaceHttpData>
-
compareTo
public int compareTo(InternalAttribute o)
-
size
public int size()
-
toChannelBuffer
public ChannelBuffer toChannelBuffer()
-
getName
public String getName()
Description copied from interface:InterfaceHttpDataReturns the name of this InterfaceHttpData.- Specified by:
getNamein interfaceInterfaceHttpData
-
-