public abstract class ClientSideSlowDownInterceptor extends AbstractClientSideRequestInterceptor
Constructor and Description |
---|
ClientSideSlowDownInterceptor() |
Modifier and Type | Method and Description |
---|---|
InterceptorResponse |
beforeServiceCall(ClientSideCallContext context,
InterceptionContext iContext)
Called after client side processing but before the actual call is performed.
|
protected abstract long |
getSlowDownTime()
Returns the amount of time in milliseconds the call should be slowed down.
|
protected abstract boolean |
slowDown(ClientSideCallContext context)
Returns true if current call should be slowed down.
|
afterServiceCall
public InterceptorResponse beforeServiceCall(ClientSideCallContext context, InterceptionContext iContext)
ClientSideRequestInterceptor
beforeServiceCall
in interface ClientSideRequestInterceptor
beforeServiceCall
in class AbstractClientSideRequestInterceptor
protected abstract boolean slowDown(ClientSideCallContext context)
context
- protected abstract long getSlowDownTime()
Copyright © 2010-2014 anotheria.net. All Rights Reserved.