Kafenio.editor 0.8.5

de.xeinfach.kafenio.urlfetch
Class HTTPHeader

java.lang.Object
  extended byde.xeinfach.kafenio.urlfetch.HTTPHeader

public class HTTPHeader
extends java.lang.Object

Description: Represents an HTTP header.

Author:
Todd Wilson, modified by Karsten Pawlik

Constructor Summary
HTTPHeader(java.lang.String newKey, java.lang.String newValue)
          Generates a new header from the given key and value.
 
Method Summary
 java.lang.String getKey()
          Gets the key portion of the parameter.
 java.lang.String getValue()
          Gets the value portion of the parameter.
 void setKey(java.lang.String newKey)
          Sets the key portion of the parameter.
 void setValue(java.lang.String newValue)
          Sets the value portion of the parameter.
 java.lang.String toString()
          A string representation of the header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPHeader

public HTTPHeader(java.lang.String newKey,
                  java.lang.String newValue)
Generates a new header from the given key and value.

Parameters:
newKey - The key portion of the header.
newValue - The value portion of the header.
Method Detail

getKey

public java.lang.String getKey()
Gets the key portion of the parameter.

Returns:
The key.

setKey

public void setKey(java.lang.String newKey)
Sets the key portion of the parameter.

Parameters:
newKey - The key.

getValue

public java.lang.String getValue()
Gets the value portion of the parameter.

Returns:
The value.

setValue

public void setValue(java.lang.String newValue)
Sets the value portion of the parameter.

Parameters:
newValue - The value.

toString

public java.lang.String toString()
A string representation of the header.

Returns:
The header.

Kafenio.editor 0.8.5

Copyright © 2003-2004 by Karsten Pawlik. All Rights Reserved. Published under the Lesser General Public License (LGPL)