public abstract class SinglePhaseInterceptor extends AbstractRequestInterceptor
Modifier | Constructor and Description |
---|---|
protected |
SinglePhaseInterceptor(InterceptionPhase atLeastOne,
InterceptionPhase... phases) |
Modifier and Type | Method and Description |
---|---|
InterceptorResponse |
afterServantCall(ServerSideCallContext context,
InterceptionContext iContext)
Called after the service actually processed the request.
|
InterceptorResponse |
afterServiceCall(ClientSideCallContext context,
InterceptionContext iContext)
Called immediately after service call, but before anything is returned to the caller.
|
InterceptorResponse |
beforeServantCall(ServerSideCallContext context,
InterceptionContext iContext)
Called before any real processing happens on the server side.
|
InterceptorResponse |
beforeServiceCall(ClientSideCallContext context,
InterceptionContext iContext)
Called after client side processing but before the actual call is performed.
|
protected abstract InterceptorResponse |
processPhase(AbstractCallContext callContext,
InterceptionContext iContext) |
protected SinglePhaseInterceptor(InterceptionPhase atLeastOne, InterceptionPhase... phases)
public final InterceptorResponse beforeServantCall(ServerSideCallContext context, InterceptionContext iContext)
ServerSideRequestInterceptor
beforeServantCall
in interface ServerSideRequestInterceptor
beforeServantCall
in class AbstractRequestInterceptor
public final InterceptorResponse afterServantCall(ServerSideCallContext context, InterceptionContext iContext)
ServerSideRequestInterceptor
afterServantCall
in interface ServerSideRequestInterceptor
afterServantCall
in class AbstractRequestInterceptor
public final InterceptorResponse beforeServiceCall(ClientSideCallContext context, InterceptionContext iContext)
ClientSideRequestInterceptor
beforeServiceCall
in interface ClientSideRequestInterceptor
beforeServiceCall
in class AbstractRequestInterceptor
public final InterceptorResponse afterServiceCall(ClientSideCallContext context, InterceptionContext iContext)
ClientSideRequestInterceptor
afterServiceCall
in interface ClientSideRequestInterceptor
afterServiceCall
in class AbstractRequestInterceptor
protected abstract InterceptorResponse processPhase(AbstractCallContext callContext, InterceptionContext iContext)
Copyright © 2010-2014 anotheria.net. All Rights Reserved.