Java org.springframework.http.converter AbstractHttpMessageConverter fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http.converter AbstractHttpMessageConverter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http.converter AbstractHttpMessageConverter.

The text is from its open source code.

Subclass

org.springframework.http.converter.AbstractHttpMessageConverter has subclasses.
Click this link to see all its subclasses.

Method

booleancanWrite(Class clazz, @Nullable MediaType mediaType)
This implementation checks if the given class is #supports(Class) supported , and if the #getSupportedMediaTypes() supported media types MediaType#includes(MediaType) include the given media type.
CharsetgetDefaultCharset()
Return the default character set, if any.
voidsetDefaultCharset(@Nullable Charset defaultCharset)
Set the default character set, if any.
voidwrite(final T t, @Nullable MediaType contentType, HttpOutputMessage outputMessage)
This implementation sets the default headers by calling #addDefaultHeaders , and then calls #writeInternal .