Package io.kjson.spring
Class JSONSpring
-
- All Implemented Interfaces:
-
org.springframework.http.converter.GenericHttpMessageConverter,org.springframework.http.converter.HttpMessageConverter
@Service() public final class JSONSpring extends AbstractJsonHttpMessageConverterSpring message converter to convert messages to and from JSON using the kjson library.
-
-
Field Summary
Fields Modifier and Type Field Description private final Collection<String>jsonLogExcludeprivate List<MediaType>supportedMediaTypesprivate CharsetdefaultCharset
-
Constructor Summary
Constructors Constructor Description JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
-
Method Summary
Modifier and Type Method Description final Collection<String>getJsonLogExclude()-
Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
canRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write -
Methods inherited from class org.springframework.http.converter.AbstractGenericHttpMessageConverter
canRead, canWrite, write -
Methods inherited from class org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes -
Methods inherited from class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
read, setJsonPrefix, setPrefixJson -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JSONSpring
JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
-
-
Method Detail
-
getJsonLogExclude
final Collection<String> getJsonLogExclude()
-
-
-
-