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 Details

    • JacksonConfig

      public JacksonConfig()
  • Method Details

    • getContext

      public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
      Specified by:
      getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>