|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpRequestTokenHandler
Handler that receives the HttpRequest tokens.
Other values are directly available from the HttpRequest.
| Method Summary | |
|---|---|
void |
handleFragment(String fragment)
Handles the fragment token of the HttpRequest. |
void |
handleHttpParameter(String name,
String value)
Handles a HttpRequest parameter. |
void |
handlePath(String path)
Handles the path token of the HttpRequest. |
void |
handleQueryString(String queryString)
Handles the query string (raw parameter text on the request URI). |
| Method Detail |
|---|
void handlePath(String path)
throws HttpRequestTokeniseException
HttpRequest.
path - Path.
HttpRequestTokeniseException - If fails to handle the HttpRequest path.
void handleHttpParameter(String name,
String value)
throws HttpRequestTokeniseException
Handles a HttpRequest parameter.
Parameters are also sourced from the body on a POST
HttpRequest.
name - Name of the parameter.value - Value for the parameter.
HttpRequestTokeniseException - If fails to handle the HttpRequest parameter.
void handleQueryString(String queryString)
throws HttpRequestTokeniseException
queryString - Raw query string.
HttpRequestTokeniseException - if fails to handle the query string.
void handleFragment(String fragment)
throws HttpRequestTokeniseException
HttpRequest.
fragment - Fragment.
HttpRequestTokeniseException - If fails to handle the HttpRequest fragment.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||