|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.http.Message net.http.Request
Represente une requete http. Ajoute à la classe Message
des methodes pour parser la start-line.
Constructor Summary | |
Request()
instancie une requete vide |
Method Summary | |
java.lang.String |
host()
extrait l'hote de l'url de cette requete |
java.lang.String |
path()
extrait le document(chemin compris, sans l'hote) de l'url de cette requete |
int |
port()
extrait le port de l'url de cette requete |
void |
set_url(java.lang.String url)
donne la valeur url a la partie de la start-line de ce message qui represente l'url |
java.lang.String |
url()
retourne la partie de la start-line de ce message qui represente l'url |
Methods inherited from class net.http.Message |
add_header, content, del_header, free, has_header, head, header, ip, length, put_header, set_content, set_ip, set_start_line, start_line, start_line, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Request()
Method Detail |
public void set_url(java.lang.String url)
public java.lang.String url()
public java.lang.String host()
public int port()
public java.lang.String path()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |