Class JacksonHttpRequestBodyConverter
java.lang.Object
org.apache.tapestry5.rest.jackson.internal.JacksonHttpRequestBodyConverter
- All Implemented Interfaces:
HttpRequestBodyConverter
-
Constructor Summary
ConstructorsConstructorDescriptionJacksonHttpRequestBodyConverter(MappedEntityManager mappedEntityManager, ObjectMapperSource objectMapperSource) -
Method Summary
-
Constructor Details
-
JacksonHttpRequestBodyConverter
public JacksonHttpRequestBodyConverter(MappedEntityManager mappedEntityManager, ObjectMapperSource objectMapperSource)
-
-
Method Details
-
convert
Description copied from interface:HttpRequestBodyConverterConverts 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:
convertin interfaceHttpRequestBodyConverter- Parameters:
request- an HttpServletRequest.type- the target type.- Returns:
- an object of the target type or
null.
-