| Package | Description |
|---|---|
| javax.ws.rs.ext |
APIs that provide extensions to the types supported by the API.
|
| org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
| org.glassfish.jersey.server.internal.monitoring |
Jersey server-side internal monitoring and statistics 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<?> |
RequestEventImpl.getExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
RequestEventBuilder |
EmptyRequestEventBuilder.setExceptionMapper(ExceptionMapper<?> exceptionMapper) |
RequestEventBuilder |
RequestEventBuilder.setExceptionMapper(ExceptionMapper<?> exceptionMapper)
Set the exception mapper.
|
RequestEventImpl.Builder |
RequestEventImpl.Builder.setExceptionMapper(ExceptionMapper<?> exceptionMapper) |
| 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-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.