Package step.core.deployment
Class ObjectHookInterceptor
- java.lang.Object
-
- step.core.deployment.AbstractServices
-
- step.core.deployment.ObjectHookInterceptor
-
- All Implemented Interfaces:
javax.ws.rs.ext.ReaderInterceptor
,javax.ws.rs.ext.WriterInterceptor
@Provider public class ObjectHookInterceptor extends AbstractServices implements javax.ws.rs.ext.ReaderInterceptor, javax.ws.rs.ext.WriterInterceptor
-
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractServices
configuration, controller, SESSION
-
-
Constructor Summary
Constructors Constructor Description ObjectHookInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
void
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
void
init()
-
Methods inherited from class step.core.deployment.AbstractServices
getContext, getExecutionRunnable, getObjectEnricher, getScheduler, getSession, invalidateSession, setSession
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classAbstractServices
- Throws:
java.lang.Exception
-
aroundReadFrom
public java.lang.Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws java.io.IOException, javax.ws.rs.WebApplicationException
- Specified by:
aroundReadFrom
in interfacejavax.ws.rs.ext.ReaderInterceptor
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
aroundWriteTo
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) throws java.io.IOException, javax.ws.rs.WebApplicationException
- Specified by:
aroundWriteTo
in interfacejavax.ws.rs.ext.WriterInterceptor
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
-