com.xml_project.morganaxproc.filesystem
Class HttpHeader

java.lang.Object
  extended by com.xml_project.morganaxproc.filesystem.HttpHeader

public class HttpHeader
extends java.lang.Object

This class represents a http header and is used in XProcHttpResponse and XProcHttpRequest.


Constructor Summary
HttpHeader(java.lang.String name, java.lang.String value)
          Creates a new header with the given name and the given value.
 
Method Summary
 java.lang.String getName()
          Return the name of this HttpHeader
 java.lang.String getValue()
          Returns the value of this HttpHeader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHeader

public HttpHeader(java.lang.String name,
                  java.lang.String value)
Creates a new header with the given name and the given value.

Parameters:
name - the header's name
value - the header's value.
Method Detail

getName

public java.lang.String getName()
Return the name of this HttpHeader

Returns:
the name

getValue

public java.lang.String getValue()
Returns the value of this HttpHeader.

Returns:
the value.