Package net.officefloor.web.build
Interface HttpObjectParser<T>
- All Superinterfaces:
HttpContentParser
Parses an object from the
ServerHttpConnection.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the type of object parsed from theServerHttpConnection.parse(ServerHttpConnection connection) Parses the object from theServerHttpConnection.Methods inherited from interface net.officefloor.web.build.HttpContentParser
getContentType
-
Method Details
-
getObjectType
Obtains the type of object parsed from theServerHttpConnection.- Returns:
- Object type.
-
parse
Parses the object from theServerHttpConnection.- Parameters:
connection-ServerHttpConnection.- Returns:
- Parsed object.
- Throws:
HttpException- If fails to parse the object from theServerHttpConnection.
-