@Provider public class LinkInjectorInterceptor extends Object implements javax.ws.rs.ext.WriterInterceptor
LinkInjector with resource method binding support for the
injection of links into HalRepresentable types.| Constructor and Description |
|---|
LinkInjectorInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
Performs link injection if the context entity is an instanceof
HalRepresentable else No-Op. |
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
throws IOException
HalRepresentable else No-Op.aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptorcontext - invocation contextIOException - if an IO error arises or is thrown by the wrapped
MessageBodyWriter.writeTo methodjavax.ws.rs.WebApplicationException - thrown by the wrapped MessageBodyWriter.writeTo methodCopyright © 2016–2017 Code:Frames. All rights reserved.