|
javax.servlet.ServletRequest
|
|
ServletInputStream getInputStream()
|
Input stream per leggere
la richiesta
|
|
String getParameter(String)
|
Ritorna il valore di un
parametro; da usare quando ad un parametro è assegnato un
solo valore
|
|
String[] getParameterValues(String)
|
Ritorna un array di
valori assegnati ad un parametro
|
|
String[] getParameterNames()
|
Ritorna i nome dei
parametri correnti
|
|
int getContentLenght()
|
Dimensione della
richiesta, o -1 se sconosciuta
|
|
int getContentType()
|
Ritorna il tipo MIME
della richiesta, o null se sconosciuta
|
|
javax.servlet.http.HttpServletRequest
|
|
String getHeader(String)
|
Ritorna il valore di un
header http
|
|
String getQueryString()
|
Ritorna la query string
http
|
|
String getMethod()
|
Ritorna il metodo http
utilizzato per la richiesta: "GET", "HEAD" o
"POST".
|
|
String getRemoteUser()
|
L'utente che ha fatto la
richiesta, se è stato richiesto
|
|
String getPathInfo()
|
Ritorna l'Extra Path di
una richiesta http
|
|
javax.servlet.ServletResponse
|
|
ServletOutputStream getOutputStream()
|
Ritorna l'output stream
per la risposta
|
|
void setContentLength(int)
|
Imposta la dimensione
della risposta
|
|
void setContentType(String)
|
Imposta il tipo MIME
della risposta
|
|
javax.servlet.http.HttpServletResponse
|
|
void sendRedirect(String s)
|
Invia una risposta di
redirezione
|
|
void sendError(int)
|
Invia uno stato di
errore
|
|
void setHeader(String, String)
|
Aggiunge un nuovo header
alla risposta
|
|
void setStatus(int, String)
|
Imposta il codice di
stato e il messaggio di stato.
|