Package net.officefloor.web.tokenise
Class HttpRequestTokeniser
- java.lang.Object
-
- net.officefloor.web.tokenise.HttpRequestTokeniser
-
public class HttpRequestTokeniser extends java.lang.ObjectTokenises theHttpRequestfor the path, parameters, fragment.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtokeniseFormEntity(HttpRequest request, ValueLoader valueLoader)Tokenises theapplication/x-www-form-urlencodedentity.static voidtokeniseHttpRequest(HttpRequest request, HttpArgumentParser[] argumentParsers, ValueLoader valueLoader)Tokenises theHttpRequestfor the arguments to theValueLoader.
-
-
-
Method Detail
-
tokeniseHttpRequest
public static void tokeniseHttpRequest(HttpRequest request, HttpArgumentParser[] argumentParsers, ValueLoader valueLoader) throws HttpException
Tokenises theHttpRequestfor the arguments to theValueLoader.- Parameters:
request-HttpRequestto be tokenised.valueLoader-ValueLoader.argumentParsers-HttpArgumentParserinstances.- Throws:
HttpException- If fails to tokenise theHttpRequest.
-
tokeniseFormEntity
public static void tokeniseFormEntity(HttpRequest request, ValueLoader valueLoader) throws HttpException
Tokenises theapplication/x-www-form-urlencodedentity.- Parameters:
request-HttpRequest.valueLoader-ValueLoader.- Throws:
HttpException- If fails to tokenise the form content.
-
-