Example usage for Java org.springframework.http.converter HttpMessageConverter fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | canRead(Class> clazz, @Nullable MediaType mediaType) Indicates whether the given class can be read by this converter. |
boolean | canWrite(Class> clazz, @Nullable MediaType mediaType) Indicates whether the given class can be written by this converter. |
Class> | getClass() Returns the runtime class of this Object . |
List | getSupportedMediaTypes() Return the list of MediaType objects supported by this converter. |
T | read(Class extends T> clazz, HttpInputMessage inputMessage) Read an object of the given type from the given input message, and returns it. |
void | write(T t, @Nullable MediaType contentType, HttpOutputMessage outputMessage) Write an given object to the given output message. |