|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.http.Header
public class Header
This class holds a header value, that is a "type: some text"
| Field Summary | |
|---|---|
static String |
CRLF
The String consisting of \r and \n |
| Constructor Summary | |
|---|---|
Header()
Used for externalization |
|
Header(String type,
String value)
|
|
| Method Summary | |
|---|---|
void |
append(String s)
|
boolean |
equals(Object o)
|
String |
getType()
|
String |
getValue()
|
int |
hashCode()
|
void |
read(DataInput in)
Fill in this object with data from the given input. |
void |
setValue(String newValue)
|
void |
write(DataOutput out)
Write this object to the given output. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CRLF
| Constructor Detail |
|---|
public Header()
public Header(String type,
String value)
| Method Detail |
|---|
public String getType()
public String getValue()
public void setValue(String newValue)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void append(String s)
public void write(DataOutput out)
throws IOException
Storable
write in interface StorableIOException
public void read(DataInput in)
throws IOException
Storable
read in interface StorableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||