public class JacksonFeature extends Object implements jakarta.ws.rs.core.Feature
| Constructor and Description |
|---|
JacksonFeature()
Default constructor enables registering Jackson's exception mappers
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(jakarta.ws.rs.core.FeatureContext context) |
static JacksonFeature |
withExceptionMappers()
Create JacksonFeature with working Jackson's exception mappers
|
static JacksonFeature |
withoutExceptionMappers()
Create JacksonFeature without registered Jackson's exception mappers
|
public JacksonFeature()
public static JacksonFeature withExceptionMappers()
public static JacksonFeature withoutExceptionMappers()
public boolean configure(jakarta.ws.rs.core.FeatureContext context)
configure in interface jakarta.ws.rs.core.FeatureCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.