org.jboss.netty.handler.codec.http2
Class InternalAttribute
java.lang.Object
org.jboss.netty.handler.codec.http2.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)
- Author:
- The Netty Project, Andy Taylor (andy.taylor@jboss.org), Trustin Lee, Frederic Bregier
value
protected List<String> value
InternalAttribute
public InternalAttribute()
- Throws:
NullPointerException
IllegalArgumentException
IOException
getHttpDataType
public InterfaceHttpData.HttpDataType getHttpDataType()
- Specified by:
getHttpDataType
in interface InterfaceHttpData
- Returns:
- The HttpDataType
getValue
public List<String> getValue()
addValue
public void addValue(String value)
addValue
public void addValue(String value,
int rank)
setValue
public void setValue(String value,
int rank)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
compareTo
public int compareTo(InterfaceHttpData arg0)
- Specified by:
compareTo
in interface Comparable<InterfaceHttpData>
compareTo
public int compareTo(InternalAttribute o)
size
public int size()
toString
public String toString()
- Overrides:
toString
in class Object
getName
public String getName()
- Description copied from interface:
InterfaceHttpData
- Returns the name of this InterfaceHttpData.
- Specified by:
getName
in interface InterfaceHttpData
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.