Package com.mayam.wf.ws.rest
Class JacksonContextResolver
java.lang.Object
com.mayam.wf.ws.rest.JacksonContextResolver
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider
public class JacksonContextResolver
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
getContext
(Class<?> objectType) void
injectHelpers
(com.mayam.wf.config.server.JacksonConfigMapperImpl jcmi)
-
Constructor Details
-
JacksonContextResolver
public JacksonContextResolver()
-
-
Method Details
-
injectHelpers
@Inject public void injectHelpers(com.mayam.wf.config.server.JacksonConfigMapperImpl jcmi) -
getContext
- Specified by:
getContext
in interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-