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.String
getContentType()
Obtains theContent-Type
handled by thisHttpArgumentParser
.void
parse(HttpRequest request, ValueLoader valueLoader)
Parses the HTTP entity.
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Description copied from interface:HttpContentParser
Obtains theContent-Type
handled by thisHttpArgumentParser
.- Specified by:
getContentType
in interfaceHttpContentParser
- Returns:
Content-Type
handled by thisHttpArgumentParser
.
-
parse
public void parse(HttpRequest request, ValueLoader valueLoader) throws HttpException
Description copied from interface:HttpArgumentParser
Parses the HTTP entity.- Specified by:
parse
in interfaceHttpArgumentParser
- Parameters:
request
-HttpRequest
.valueLoader
-ValueLoader
.- Throws:
HttpException
- If fails to parse theServerHttpConnection
.
-
-