org.idoox.wasp.interceptor
Interface TransportInterceptorChain
- All Superinterfaces:
- InterceptorChain
- public interface TransportInterceptorChain
- extends InterceptorChain
Transport chain of interceptors.
- Since:
- 4.0
- Component:
- Core
intercept
public void intercept(Connection connection)
throws StopProcessingException,
java.io.IOException
- Intercepts a connection.
This method calls interceptors from this chain and wraps request and
response.
- Parameters:
connection
- the connection to be intercepted
- Throws:
StopProcessingException
- when connection processing have
to be stopped
java.io.IOException
- when I/O error occurs