Class PatchingInterceptor
java.lang.Object
org.glassfish.jersey.examples.httppatch.PatchingInterceptor
- All Implemented Interfaces:
ReaderInterceptor
JAX-RS reader interceptor that implements server-side PATCH support.
- Author:
- Gerard Davison (gerard.davison at oracle.com), Marek Potociar
-
Constructor Summary
ConstructorsConstructorDescriptionPatchingInterceptor(UriInfo uriInfo, MessageBodyWorkers workers) PatchingInterceptorinjection constructor. -
Method Summary
Modifier and TypeMethodDescriptionaroundReadFrom(ReaderInterceptorContext readerInterceptorContext)
-
Constructor Details
-
PatchingInterceptor
PatchingInterceptorinjection constructor.- Parameters:
uriInfo-jakarta.ws.rs.core.UriInfoproxy instance.workers-MessageBodyWorkersmessage body workers.
-
-
Method Details
-
aroundReadFrom
public Object aroundReadFrom(ReaderInterceptorContext readerInterceptorContext) throws IOException, WebApplicationException - Specified by:
aroundReadFromin interfaceReaderInterceptor- Throws:
IOExceptionWebApplicationException
-