Class PatchingInterceptor
- java.lang.Object
-
- org.glassfish.jersey.examples.httppatch.PatchingInterceptor
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ReaderInterceptor
public class PatchingInterceptor extends Object implements jakarta.ws.rs.ext.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(jakarta.ws.rs.core.UriInfo uriInfo, org.glassfish.jersey.message.MessageBodyWorkers workers)PatchingInterceptorinjection constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectaroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext)
-
-
-
Constructor Detail
-
PatchingInterceptor
public PatchingInterceptor(@Context jakarta.ws.rs.core.UriInfo uriInfo, @Context org.glassfish.jersey.message.MessageBodyWorkers workers)PatchingInterceptorinjection constructor.- Parameters:
uriInfo-jakarta.ws.rs.core.UriInfoproxy instance.workers-MessageBodyWorkersmessage body workers.
-
-
Method Detail
-
aroundReadFrom
public Object aroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext readerInterceptorContext) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
aroundReadFromin interfacejakarta.ws.rs.ext.ReaderInterceptor- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
-