|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectittp.protocol.request.Request.Headers
ittp.protocol.request.headers.Connection
This class analyse the header connection send by the client.
Field Summary | |
static boolean |
CLOSE
|
static boolean |
OPEN
|
Constructor Summary | |
Connection(Request parent)
Constructor of the class |
Method Summary | |
boolean |
getConnection()
Accessors for the boolean connection. |
boolean |
isUsed()
Accessors for the boolean used. |
void |
setConnection(boolean connection)
Mutators for the boolean connection. |
java.lang.String |
toString()
Convert to a string the headers connection send by the client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean OPEN
public static final boolean CLOSE
Constructor Detail |
public Connection(Request parent)
Method Detail |
public void setConnection(boolean connection) throws ittpException
connection
- boolean that determine if the connection is closed.
ittpException
- if the headers Connection already received.public boolean getConnection()
public java.lang.String toString()
toString
in class Request.Headers
public boolean isUsed()
isUsed
in class Request.Headers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |