abstract class RequestBuilderInterceptor extends java.lang.Object
Allows creating interceptors via builder syntax. Implementors should implement to the "build" method and call "buildRequest" providing the closure
Type | Name and description |
---|---|
groovy.lang.Closure |
build(io.reactivex.netty.protocol.http.client.HttpClientRequest request, InterceptorContext context) The build method should be implemented by calling the buildRequest method passing in the closure that uses HttpClientRequestBuilder to alter the request |
protected groovy.lang.Closure |
buildRequest(groovy.lang.Closure callable) |
java.util.Observable<io.reactivex.netty.protocol.http.client.HttpClientResponse> |
intercept(java.util.Observable<io.reactivex.netty.protocol.http.client.HttpClientResponse> request, InterceptorContext context) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The build method should be implemented by calling the buildRequest method passing in the closure that uses HttpClientRequestBuilder to alter the request
entity
- The entityinstance
- The instance (null if a static call)request
- The request