org.jboss.netty.handler.codec.http2
Class InternalAttribute

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.handler.codec.http2.InterfaceHttpData
InterfaceHttpData.HttpDataType
 
Field Summary
protected  List<String> value
           
 
Constructor Summary
InternalAttribute()
           
 
Method Summary
 void addValue(String value)
           
 void addValue(String value, int rank)
           
 int compareTo(InterfaceHttpData arg0)
           
 int compareTo(InternalAttribute o)
           
 boolean equals(Object o)
           
 InterfaceHttpData.HttpDataType getHttpDataType()
           
 String getName()
          Returns the name of this InterfaceHttpData.
 List<String> getValue()
           
 int hashCode()
           
 void setValue(String value, int rank)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected List<String> value
Constructor Detail

InternalAttribute

public InternalAttribute()
Throws:
NullPointerException
IllegalArgumentException
IOException
Method Detail

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.