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