| Package | Description |
|---|---|
| jakarta.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
| org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
| org.glassfish.jersey.server.monitoring |
Jersey server-side monitoring JMX MBeans interfaces.
|
| org.glassfish.jersey.spi |
Common Jersey service provider contract (SPI) classes.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
Providers.getExceptionMapper(Class<T> type)
Get an exception mapping provider for a particular class of exception.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
ExceptionMapperFactory.find(Class<T> type) |
<T extends Throwable> |
ExceptionMapperFactory.findMapping(T exceptionInstance) |
<T extends Throwable> |
JaxrsProviders.getExceptionMapper(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMapper<?> |
RequestEvent.getExceptionMapper()
Get the
ExceptionMapper that was found and used during the exception mapping phase. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExtendedExceptionMapper<T extends Throwable>
Extension of a
exception mapper interface. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
ExceptionMappers.find(Class<T> type)
Get an exception mapping provider for a particular class of exception.
|
<T extends Throwable> |
ExceptionMappers.findMapping(T exceptionInstance)
Get an exception mapping provider for a particular exception instance.
|
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.