public interface HttpRequestTokeniser
HttpRequest
for the path, parameters, fragment.Modifier and Type | Method and Description |
---|---|
void |
tokeniseHttpRequest(HttpRequest request,
HttpRequestTokenHandler handler)
Tokenises the
HttpRequest for the path, parameters and fragment
providing them to the HttpRequestTokenHandler to handle. |
void |
tokeniseRequestURI(String requestURI,
HttpRequestTokenHandler handler)
Tokenises the request URI for the path, parameters and fragment.
|
void tokeniseHttpRequest(HttpRequest request, HttpRequestTokenHandler handler) throws IOException, HttpRequestTokeniseException
Tokenises the HttpRequest
for the path, parameters and fragment
providing them to the HttpRequestTokenHandler
to handle.
This encompasses the whole HttpRequest
(e.g. on POST
will also tokenise the body for parameters).
request
- HttpRequest
to be tokenised.handler
- HttpRequestTokenHandler
to handle the
HttpRequest
tokens.IOException
- If fails to read data from HttpRequest
.HttpRequestTokeniseException
- If fails to tokenise the HttpRequest
.void tokeniseRequestURI(String requestURI, HttpRequestTokenHandler handler) throws HttpRequestTokeniseException
requestURI
- Request URI to be tokenised.handler
- HttpRequestTokenHandler
to handle the request URI
tokens.HttpRequestTokeniseException
- If fails to tokenise the request URI.Copyright © 2005–2016. All rights reserved.