public interface RequestInterceptor
Request
,
ProtocolWriter
Modifier and Type | Method and Description |
---|---|
void |
intercept(Request request,
ProtocolWriter writer)
Intercepts the Request to write some data to it
|
void intercept(Request request, ProtocolWriter writer) throws java.io.IOException
request
- The Request to be interceptedwriter
- The ProtocolWriter to write the data withjava.io.IOException
- on failed IO operations