|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webrenderer.se.RequestHeader
public class RequestHeader
Represents a single name/value pair in a header.
| Constructor Summary | |
|---|---|
RequestHeader(java.lang.String theName,
java.lang.String theValue)
Constructs a RequestHeader with given name value pair. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Gets the name of the header name/value pair. |
java.lang.String |
getValue()
Gets the value of the header name/value pair. |
boolean |
hasChanged()
Gets if the value has been modified after construction. |
void |
setValue(java.lang.String newValue)
Sets the value of the header name/value pair. |
java.lang.String |
toString()
Convert the header name/value pair into HTTP request format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestHeader(java.lang.String theName,
java.lang.String theValue)
theName - The name.theValue - The value.| Method Detail |
|---|
public java.lang.String getValue()
public void setValue(java.lang.String newValue)
newValue - The new value.public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasChanged()
true if the value has been modified.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||