Class JacksonConfig
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.JacksonConfig
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider
@Consumes("application/json")
@Produces("application/json")
public class JacksonConfig
extends Object
implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
- Author:
- Robin Müller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
getContext
(Class<?> type)
-
Constructor Details
-
JacksonConfig
public JacksonConfig()
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-