Package net.officefloor.server.http.impl
Class SerialisableHttpHeader
- java.lang.Object
-
- net.officefloor.server.http.impl.SerialisableHttpHeader
-
- All Implemented Interfaces:
java.io.Serializable
,HttpHeader
public class SerialisableHttpHeader extends java.lang.Object implements HttpHeader, java.io.Serializable
Serializable
HttpHeader
.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerialisableHttpHeader(java.lang.String name, java.lang.String value)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Obtains the name of theHttpHeader
.java.lang.String
getValue()
Obtains the value for theHttpHeader
.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:HttpHeader
Obtains the name of theHttpHeader
.- Specified by:
getName
in interfaceHttpHeader
- Returns:
- Name of the
HttpHeader
.
-
getValue
public java.lang.String getValue()
Description copied from interface:HttpHeader
Obtains the value for theHttpHeader
.- Specified by:
getValue
in interfaceHttpHeader
- Returns:
- Value for the
HttpHeader
.
-
-