public interface WebClientInternal extends WebClient
| Modifier and Type | Method and Description |
|---|---|
WebClientInternal |
addInterceptor(Handler<HttpContext<?>> interceptor)
Add interceptor in the chain.
|
<T> HttpContext<T> |
createContext(Handler<AsyncResult<HttpResponse<T>>> handler) |
close, create, create, delete, delete, delete, deleteAbs, get, get, get, getAbs, head, head, head, headAbs, patch, patch, patch, patchAbs, post, post, post, postAbs, put, put, put, putAbs, raw, raw, raw, rawAbs, request, request, request, request, request, request, request, request, requestAbs, requestAbs, wrap, wrap<T> HttpContext<T> createContext(Handler<AsyncResult<HttpResponse<T>>> handler)
WebClientInternal addInterceptor(Handler<HttpContext<?>> interceptor)
HttpContext.get(String)/HttpContext.set(String, Object).
A request/response can be processed several times (in case of retry) and thus they should use the per request state
to ensure an operation is not done twice.
This API is internal.interceptor - the interceptor to add, must not be nullCopyright © 2020. All rights reserved.