接口的使用
org.springframework.http.HttpInputMessage
使用HttpInputMessage的程序包 程序包 说明 org.springframework.http.client Contains an abstraction over client-side HTTP.org.springframework.http.converter Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.org.springframework.http.converter.feed Provides HttpMessageConverter implementations for handling Atom and RSS feeds.org.springframework.http.converter.json Provides HttpMessageConverter implementations for handling JSON.org.springframework.http.converter.protobuf Provides an HttpMessageConverter implementation for handling Google Protocol Buffers.org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.http.server Contains an abstraction over server-side HTTP.org.springframework.mock.http Mock implementations of client/server-side HTTP abstractions.org.springframework.mock.http.client Mock implementations of client-side HTTP abstractions.org.springframework.web.multipart.support Support classes for the multipart resolution framework.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.org.springframework.http.client中HttpInputMessage的使用
org.springframework.http.client中HttpInputMessage的子接口 修饰符和类型 接口 说明 interfaceClientHttpResponseRepresents a client-side HTTP response.实现HttpInputMessage的org.springframework.http.client中的类 修饰符和类型 类 说明 classAbstractClientHttpResponseAbstract base forClientHttpResponse.org.springframework.http.converter中HttpInputMessage的使用
返回HttpInputMessage的org.springframework.http.converter中的方法 修饰符和类型 方法 说明 HttpInputMessageHttpMessageNotReadableException. getHttpInputMessage()Return the original HTTP message.参数类型为HttpInputMessage的org.springframework.http.converter中的方法 修饰符和类型 方法 说明 TAbstractHttpMessageConverter. read(Class<? extends T> clazz, HttpInputMessage inputMessage)This implementation simple delegates toAbstractHttpMessageConverter.readInternal(Class, HttpInputMessage).BufferedImageBufferedImageHttpMessageConverter. read(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage)MultiValueMap<String,String>FormHttpMessageConverter. read(Class<? extends MultiValueMap<String,?>> clazz, HttpInputMessage inputMessage)TGenericHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)Read an object of the given type form the given input message, and returns it.THttpMessageConverter. read(Class<? extends T> clazz, HttpInputMessage inputMessage)Read an object of the given type from the given input message, and returns it.ObjectResourceRegionHttpMessageConverter. 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.byte[]ByteArrayHttpMessageConverter. readInternal(Class<? extends byte[]> clazz, HttpInputMessage inputMessage)protected ObjectObjectToStringHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)protected ResourceResourceHttpMessageConverter. readInternal(Class<? extends Resource> clazz, HttpInputMessage inputMessage)protected ResourceRegionResourceRegionHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)protected StringStringHttpMessageConverter. readInternal(Class<? extends String> clazz, HttpInputMessage inputMessage)参数类型为HttpInputMessage的org.springframework.http.converter中的构造器 构造器 说明 HttpMessageNotReadableException(String msg, Throwable cause, HttpInputMessage httpInputMessage)Create a new HttpMessageNotReadableException.HttpMessageNotReadableException(String msg, HttpInputMessage httpInputMessage)Create a new HttpMessageNotReadableException.org.springframework.http.converter.feed中HttpInputMessage的使用
参数类型为HttpInputMessage的org.springframework.http.converter.feed中的方法 修饰符和类型 方法 说明 protected TAbstractWireFeedHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)org.springframework.http.converter.json中HttpInputMessage的使用
实现HttpInputMessage的org.springframework.http.converter.json中的类 修饰符和类型 类 说明 classMappingJacksonInputMessageHttpInputMessagethat can eventually stores a Jackson view that will be used to deserialize the message.参数类型为HttpInputMessage的org.springframework.http.converter.json中的方法 修饰符和类型 方法 说明 ObjectAbstractJackson2HttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)ObjectAbstractJsonHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)protected ObjectAbstractJackson2HttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)protected ObjectAbstractJsonHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)org.springframework.http.converter.protobuf中HttpInputMessage的使用
参数类型为HttpInputMessage的org.springframework.http.converter.protobuf中的方法 修饰符和类型 方法 说明 protected com.google.protobuf.MessageProtobufHttpMessageConverter. readInternal(Class<? extends com.google.protobuf.Message> clazz, HttpInputMessage inputMessage)org.springframework.http.converter.xml中HttpInputMessage的使用
参数类型为HttpInputMessage的org.springframework.http.converter.xml中的方法 修饰符和类型 方法 说明 TJaxb2CollectionHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)TAbstractXmlHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)protected TSourceHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)org.springframework.http.server中HttpInputMessage的使用
org.springframework.http.server中HttpInputMessage的子接口 修饰符和类型 接口 说明 interfaceServerHttpRequestRepresents a server-side HTTP request.实现HttpInputMessage的org.springframework.http.server中的类 修饰符和类型 类 说明 classServletServerHttpRequestServerHttpRequestimplementation that is based on aHttpServletRequest.org.springframework.mock.http中HttpInputMessage的使用
实现HttpInputMessage的org.springframework.mock.http中的类 修饰符和类型 类 说明 classMockHttpInputMessageMock implementation ofHttpInputMessage.org.springframework.mock.http.client中HttpInputMessage的使用
实现HttpInputMessage的org.springframework.mock.http.client中的类 修饰符和类型 类 说明 classMockClientHttpResponseMock implementation ofClientHttpResponse.org.springframework.web.multipart.support中HttpInputMessage的使用
实现HttpInputMessage的org.springframework.web.multipart.support中的类 修饰符和类型 类 说明 classRequestPartServletServerHttpRequestServerHttpRequestimplementation that accesses one part of a multipart request.org.springframework.web.servlet.mvc.method.annotation中HttpInputMessage的使用
返回HttpInputMessage的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 HttpInputMessageJsonViewRequestBodyAdvice. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> selectedConverterType)HttpInputMessageRequestBodyAdvice. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)Invoked second before the request body is read and converted.HttpInputMessageRequestBodyAdviceAdapter. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)The default implementation returns the InputMessage that was passed in.参数类型为HttpInputMessage的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 ObjectRequestBodyAdvice. afterBodyRead(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)Invoked third (and last) after the request body is converted to an Object.ObjectRequestBodyAdviceAdapter. afterBodyRead(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)The default implementation returns the body that was passed in.HttpInputMessageJsonViewRequestBodyAdvice. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter methodParameter, Type targetType, Class<? extends HttpMessageConverter<?>> selectedConverterType)HttpInputMessageRequestBodyAdvice. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)Invoked second before the request body is read and converted.HttpInputMessageRequestBodyAdviceAdapter. beforeBodyRead(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)The default implementation returns the InputMessage that was passed in.ObjectRequestBodyAdvice. handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)Invoked second (and last) if the body is empty.ObjectRequestBodyAdviceAdapter. handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType)The default implementation returns the body that was passed in.protected <T> ObjectAbstractMessageConverterMethodArgumentResolver. readWithMessageConverters(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType)Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.