net.officefloor.plugin.socket.server.http.parse.impl
Class HttpHeaderImpl

java.lang.Object
  extended by net.officefloor.plugin.socket.server.http.parse.impl.HttpHeaderImpl
All Implemented Interfaces:
HttpHeader

public class HttpHeaderImpl
extends Object
implements HttpHeader

HttpHeader implementation.

Author:
Daniel Sagenschneider

Constructor Summary
HttpHeaderImpl(String name, String value)
          Initiate.
 
Method Summary
 String getName()
          Obtains the name of the HttpHeader.
 String getValue()
          Obtains the value for the HttpHeader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHeaderImpl

public HttpHeaderImpl(String name,
                      String value)
Initiate.

Parameters:
name - Name.
value - Value.
Method Detail

getName

public String getName()
Description copied from interface: HttpHeader
Obtains the name of the HttpHeader.

Specified by:
getName in interface HttpHeader
Returns:
Name of the HttpHeader.

getValue

public String getValue()
Description copied from interface: HttpHeader
Obtains the value for the HttpHeader.

Specified by:
getValue in interface HttpHeader
Returns:
Value for the HttpHeader.


Copyright © 2005-2011. All Rights Reserved.