|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.plugin.web.http.tokenise.HttpRequestTokenAdapter
public class HttpRequestTokenAdapter
Adapter for the HttpRequestTokenHandler so that need not implement
every method.
| Constructor Summary | |
|---|---|
HttpRequestTokenAdapter()
|
|
| 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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestTokenAdapter()
| Method Detail |
|---|
public void handlePath(String path)
throws HttpRequestTokeniseException
HttpRequestTokenHandlerHttpRequest.
handlePath in interface HttpRequestTokenHandlerpath - Path.
HttpRequestTokeniseException - If fails to handle the HttpRequest path.
public void handleHttpParameter(String name,
String value)
throws HttpRequestTokeniseException
HttpRequestTokenHandler
Handles a HttpRequest parameter.
Parameters are also sourced from the body on a POST
HttpRequest.
handleHttpParameter in interface HttpRequestTokenHandlername - Name of the parameter.value - Value for the parameter.
HttpRequestTokeniseException - If fails to handle the HttpRequest parameter.
public void handleQueryString(String queryString)
throws HttpRequestTokeniseException
HttpRequestTokenHandler
handleQueryString in interface HttpRequestTokenHandlerqueryString - Raw query string.
HttpRequestTokeniseException - if fails to handle the query string.
public void handleFragment(String fragment)
throws HttpRequestTokeniseException
HttpRequestTokenHandlerHttpRequest.
handleFragment in interface HttpRequestTokenHandlerfragment - 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 | |||||||||