Fix typo in interceptor methods names
Signed-off-by: Neonailol <neonailol@gmail.com>
This commit is contained in:
parent
8603a61b55
commit
9e6287c88b
|
@ -272,7 +272,7 @@ public class Http2AsyncClientBuilder {
|
|||
/**
|
||||
* Adds this protocol interceptor to the head of the protocol processing list.
|
||||
*/
|
||||
public final Http2AsyncClientBuilder addRequestInterceptorFirst(final HttpResponseInterceptor interceptor) {
|
||||
public final Http2AsyncClientBuilder addResponseInterceptorFirst(final HttpResponseInterceptor interceptor) {
|
||||
Args.notNull(interceptor, "Interceptor");
|
||||
if (responseInterceptors == null) {
|
||||
responseInterceptors = new LinkedList<>();
|
||||
|
@ -369,7 +369,7 @@ public class Http2AsyncClientBuilder {
|
|||
/**
|
||||
* Adds this protocol interceptor to the tail of the protocol processing list.
|
||||
*/
|
||||
public final Http2AsyncClientBuilder addResponseInterceptorLast(final HttpRequestInterceptor interceptor) {
|
||||
public final Http2AsyncClientBuilder addRequestInterceptorLast(final HttpRequestInterceptor interceptor) {
|
||||
Args.notNull(interceptor, "Interceptor");
|
||||
if (requestInterceptors == null) {
|
||||
requestInterceptors = new LinkedList<>();
|
||||
|
|
|
@ -364,7 +364,7 @@ public class HttpClientBuilder {
|
|||
/**
|
||||
* Adds this protocol interceptor to the head of the protocol processing list.
|
||||
*/
|
||||
public final HttpClientBuilder addRequestInterceptorFirst(final HttpResponseInterceptor interceptor) {
|
||||
public final HttpClientBuilder addResponseInterceptorFirst(final HttpResponseInterceptor interceptor) {
|
||||
Args.notNull(interceptor, "Interceptor");
|
||||
if (responseInterceptors == null) {
|
||||
responseInterceptors = new LinkedList<>();
|
||||
|
@ -400,7 +400,7 @@ public class HttpClientBuilder {
|
|||
/**
|
||||
* Adds this protocol interceptor to the tail of the protocol processing list.
|
||||
*/
|
||||
public final HttpClientBuilder addResponseInterceptorLast(final HttpRequestInterceptor interceptor) {
|
||||
public final HttpClientBuilder addRequestInterceptorLast(final HttpRequestInterceptor interceptor) {
|
||||
Args.notNull(interceptor, "Interceptor");
|
||||
if (requestInterceptors == null) {
|
||||
requestInterceptors = new LinkedList<>();
|
||||
|
|
Loading…
Reference in New Issue