|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.comms.PROXY
La classe qui contient la méthode main. Son rôle est de mettre
à jour les parametres en fonction des arguments de la ligne de commande
et de lancer un Standard
.
l'option -h affiche la liste des options disponibles et termine le programme.
Field Summary | |
static java.lang.String |
HOST
le nom de l'hote du proxy |
static int |
IDLE
le temps maximum d'attente (en secondes) sur une operation d'entree/sortie |
static java.lang.String |
IP
l'adresse ip du proxy |
static int |
MAX_CONNEXION
le temps maximum d'attente (en secondes) sur une operation d'entree/sortie |
static java.util.Vector |
modules
les modules |
static int |
PORT
le port du proxy |
static boolean |
PRINT_NB_COMMS
si vrai, le proxy affiche le nombre de connections |
static boolean |
PRINT_REQUEST_CONTENT
si vrai, le proxy affiche le corps des requetes |
static boolean |
PRINT_REQUEST_HEADER
si vrai, le proxy affiche l'entete des requetes |
static boolean |
PRINT_REQUEST_LINE
si vrai, le proxy affiche l'url des requetes |
static boolean |
PRINT_RESPONSE_CONTENT
si vrai, le proxy affiche le corps des reponses |
static boolean |
PRINT_RESPONSE_HEADER
si vrai, le proxy affiche l'entete des reponses |
static java.lang.String |
RESEAU
le reseau autorisé à se connecter au proxy |
Method Summary | |
static java.lang.String |
info()
retourne une chaine de carartere qui identifie le proxy (numero ip et port). |
static void |
main(java.lang.String[] args)
lance un proxy avec les parametres de la ligne de commande |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String HOST
public static java.lang.String IP
public static int PORT
public static java.lang.String RESEAU
public static int MAX_CONNEXION
public static int IDLE
public static boolean PRINT_NB_COMMS
public static boolean PRINT_REQUEST_LINE
public static boolean PRINT_REQUEST_HEADER
public static boolean PRINT_REQUEST_CONTENT
public static boolean PRINT_RESPONSE_HEADER
public static boolean PRINT_RESPONSE_CONTENT
public static java.util.Vector modules
Method Detail |
public static void main(java.lang.String[] args)
public static java.lang.String info()
Response
qui retournent des reponses types.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |