Package org.glassfish.jersey.jackson
Class JacksonFeature
- java.lang.Object
-
- org.glassfish.jersey.jackson.JacksonFeature
-
-
Constructor Summary
Constructors Constructor Description JacksonFeature()Default constructor enables registering Jackson's exception mappers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(FeatureContext context)static JacksonFeaturewithExceptionMappers()Create JacksonFeature with working Jackson's exception mappersstatic JacksonFeaturewithoutExceptionMappers()Create JacksonFeature without registered Jackson's exception mappers
-
-
-
Method Detail
-
withExceptionMappers
public static JacksonFeature withExceptionMappers()
Create JacksonFeature with working Jackson's exception mappers- Returns:
- JacksonFeature with working Jackson's exception mappers
-
withoutExceptionMappers
public static JacksonFeature withoutExceptionMappers()
Create JacksonFeature without registered Jackson's exception mappers- Returns:
- JacksonFeature without registered Jackson's exception mappers
-
configure
public boolean configure(FeatureContext context)
-
-