ittp.protocol.response.headers
Class Server
java.lang.Object
ittp.protocol.response.Response.Headers
ittp.protocol.response.headers.Server
- public class Server
- extends Response.Headers
This class create the header server.
- Author:
- Frederic Bidon and Mathieu Texier
Method Summary |
void |
setAllowed(boolean allowed)
Mutators for the boolean allowed. |
void |
setUsed(boolean used)
Mutators for the boolean used. |
java.lang.String |
toString()
Convert to a string the headers server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DESCRIPTION
public final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
Server
public Server(Response parent)
- Constructor of the class
toString
public java.lang.String toString()
- Convert to a string the headers server.
- Specified by:
toString
in class Response.Headers
- Returns:
- a string containing the description of the server.
setAllowed
public void setAllowed(boolean allowed)
- Mutators for the boolean allowed.
- Specified by:
setAllowed
in class Response.Headers
- Parameters:
allowed
- boolean that determine if this headers is allowed.
setUsed
public void setUsed(boolean used)
- Mutators for the boolean used.
- Specified by:
setUsed
in class Response.Headers
- Parameters:
used
- boolean that determine if this headers is used.