类的使用
cn.taketoday.http.converter.HttpMessageNotReadableException
程序包
说明
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides HttpMessageConverter implementations for handling XML.
Request context parameter resolvers
Web Handler
-
cn.taketoday.http.converter中HttpMessageNotReadableException的使用
修饰符和类型方法说明final TAbstractHttpMessageConverter.read(Class<? extends T> clazz, HttpInputMessage inputMessage) This implementation simple delegates toAbstractHttpMessageConverter.readInternal(Class, HttpInputMessage).BufferedImageHttpMessageConverter.read(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage) FormHttpMessageConverter.read(Class<? extends cn.taketoday.util.MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) GenericHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) Read an object of the given type form the given input message, and returns it.HttpMessageConverter.read(Class<? extends T> clazz, HttpInputMessage inputMessage) Read an object of the given type from the given input message, and returns it.ResourceRegionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) protected abstract TAbstractHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) Abstract template method that reads the actual object.protected ObjectObjectToStringHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) protected cn.taketoday.core.io.ResourceResourceHttpMessageConverter.readInternal(Class<? extends cn.taketoday.core.io.Resource> clazz, HttpInputMessage inputMessage) protected cn.taketoday.core.io.ResourceRegionResourceRegionHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) -
cn.taketoday.http.converter.feed中HttpMessageNotReadableException的使用
修饰符和类型方法说明protected TAbstractWireFeedHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) -
cn.taketoday.http.converter.json中HttpMessageNotReadableException的使用
修饰符和类型方法说明AbstractJackson2HttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final ObjectAbstractJsonHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) protected ObjectAbstractJackson2HttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) protected final ObjectAbstractJsonHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) private ObjectAbstractJsonHttpMessageConverter.readResolved(Type resolvedType, HttpInputMessage inputMessage) -
cn.taketoday.http.converter.protobuf中HttpMessageNotReadableException的使用
修饰符和类型方法说明protected com.google.protobuf.MessageProtobufHttpMessageConverter.readInternal(Class<? extends com.google.protobuf.Message> clazz, HttpInputMessage inputMessage) -
cn.taketoday.http.converter.xml中HttpMessageNotReadableException的使用
修饰符和类型方法说明Jaxb2CollectionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final TAbstractXmlHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) protected TSourceHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) -
cn.taketoday.web.bind.resolver中HttpMessageNotReadableException的使用
修饰符和类型方法说明protected <T> ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(HttpInputMessage inputMessage, cn.taketoday.core.MethodParameter parameter, Type targetType) Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.protected ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(RequestContext request, cn.taketoday.core.MethodParameter parameter, Type paramType) Create the method argument value of the expected parameter type by reading from the given request.protected ObjectRequestResponseBodyMethodProcessor.readWithMessageConverters(RequestContext request, cn.taketoday.core.MethodParameter parameter, Type paramType) -
cn.taketoday.web.handler中HttpMessageNotReadableException的使用
修饰符和类型方法说明protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, RequestContext request) Customize the handling ofHttpMessageNotReadableException.protected ObjectSimpleHandlerExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, RequestContext request, Object handler) Handle the case where a message converter cannot read from an HTTP request.