Package net.officefloor.web.tokenise
Class FormHttpArgumentParser
- java.lang.Object
-
- net.officefloor.web.tokenise.FormHttpArgumentParser
-
- All Implemented Interfaces:
HttpArgumentParser,HttpContentParser
public class FormHttpArgumentParser extends java.lang.Object implements HttpArgumentParser
FormHttpArgumentParser.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FormHttpArgumentParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()Obtains theContent-Typehandled by thisHttpArgumentParser.voidparse(HttpRequest request, ValueLoader valueLoader)Parses the HTTP entity.
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Description copied from interface:HttpContentParserObtains theContent-Typehandled by thisHttpArgumentParser.- Specified by:
getContentTypein interfaceHttpContentParser- Returns:
Content-Typehandled by thisHttpArgumentParser.
-
parse
public void parse(HttpRequest request, ValueLoader valueLoader) throws HttpException
Description copied from interface:HttpArgumentParserParses the HTTP entity.- Specified by:
parsein interfaceHttpArgumentParser- Parameters:
request-HttpRequest.valueLoader-ValueLoader.- Throws:
HttpException- If fails to parse theServerHttpConnection.
-
-