|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectittp.protocol.parser.RequestParser
The aim of this class is to parse the request send by the client.
Constructor Summary | |
RequestParser(java.io.BufferedReader in,
java.net.InetAddress clientIP)
Create an instance of the RequestParse we assume the bufferReader is ready param in InputStream to be parse param clientIP address of the client |
Method Summary | |
(package private) void |
host()
This method analyse the host of the client. |
(package private) void |
ITTP_version()
This method analyse the ITTP version used by the client. |
Request |
parse()
|
(package private) void |
path()
This method analyse the path of the ressource contained in the request. |
(package private) void |
port()
This method analyse the port required by the client. |
(package private) void |
request_URI()
|
(package private) void |
sheme()
This method analyse the sheme. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestParser(java.io.BufferedReader in, java.net.InetAddress clientIP)
Method Detail |
void request_URI()
void sheme()
void host()
void port()
void path()
void ITTP_version()
public Request parse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |