Class TypeCoercerHttpRequestBodyConverter
java.lang.Object
org.apache.tapestry5.http.internal.TypeCoercerHttpRequestBodyConverter
- All Implemented Interfaces:
HttpRequestBodyConverter
public final class TypeCoercerHttpRequestBodyConverter
extends Object
implements HttpRequestBodyConverter
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypeCoercerHttpRequestBodyConverter
-
-
Method Details
-
convert
Description copied from interface:HttpRequestBodyConverter
Converts the body of this request. If this implementation cannot handle this request, probably by not handling its content type, it should returnnull
. In addition, if the request body is empty, this method should also returnnull
.- Specified by:
convert
in interfaceHttpRequestBodyConverter
- Parameters:
request
- an HttpServletRequest.type
- the target type.- Returns:
- an object of the target type or
null
.
-