Fix recent javadoc errors
Issue: SPR-17174
This commit is contained in:
@@ -24,7 +24,8 @@ import org.springframework.http.HttpMethod;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* {@link ClientHttpRequestFactory} wrapper with support for {@link ClientHttpRequestInterceptor ClientHttpRequestFactory} wrapper with support for {@link ClientHttpRequestInterceptors}.
|
||||
* {@link ClientHttpRequestFactory} wrapper with support for
|
||||
* {@link ClientHttpRequestInterceptor ClientHttpRequestInterceptors}.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @since 3.1
|
||||
|
||||
@@ -71,9 +71,8 @@ public class OkHttp3ClientHttpRequestFactory
|
||||
|
||||
|
||||
/**
|
||||
* Sets the underlying read timeout in milliseconds.
|
||||
* Set the underlying read timeout in milliseconds.
|
||||
* A value of 0 specifies an infinite timeout.
|
||||
* @see OkHttpClient.Builder#readTimeout(long, TimeUnit)
|
||||
*/
|
||||
public void setReadTimeout(int readTimeout) {
|
||||
this.client = this.client.newBuilder()
|
||||
@@ -82,9 +81,8 @@ public class OkHttp3ClientHttpRequestFactory
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the underlying write timeout in milliseconds.
|
||||
* Set the underlying write timeout in milliseconds.
|
||||
* A value of 0 specifies an infinite timeout.
|
||||
* @see OkHttpClient.Builder#writeTimeout(long, TimeUnit)
|
||||
*/
|
||||
public void setWriteTimeout(int writeTimeout) {
|
||||
this.client = this.client.newBuilder()
|
||||
@@ -93,9 +91,8 @@ public class OkHttp3ClientHttpRequestFactory
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the underlying connect timeout in milliseconds.
|
||||
* Set the underlying connect timeout in milliseconds.
|
||||
* A value of 0 specifies an infinite timeout.
|
||||
* @see OkHttpClient.Builder#connectTimeout(long, TimeUnit)
|
||||
*/
|
||||
public void setConnectTimeout(int connectTimeout) {
|
||||
this.client = this.client.newBuilder()
|
||||
|
||||
@@ -43,7 +43,7 @@ public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageC
|
||||
|
||||
/**
|
||||
* Construct a new {@code ProtobufJsonFormatHttpMessageConverter} with default
|
||||
* {@link JsonFormat.Parser} and {@link JsonFormat.Printer} configuration.
|
||||
* {@code JsonFormat.Parser} and {@code JsonFormat.Printer} configuration.
|
||||
*/
|
||||
public ProtobufJsonFormatHttpMessageConverter() {
|
||||
this(null, null, (ExtensionRegistry)null);
|
||||
@@ -51,7 +51,7 @@ public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageC
|
||||
|
||||
/**
|
||||
* Construct a new {@code ProtobufJsonFormatHttpMessageConverter} with the given
|
||||
* {@link JsonFormat.Parser} and {@link JsonFormat.Printer} configuration.
|
||||
* {@code JsonFormat.Parser} and {@code JsonFormat.Printer} configuration.
|
||||
* @param parser the JSON parser configuration
|
||||
* @param printer the JSON printer configuration
|
||||
*/
|
||||
@@ -63,7 +63,7 @@ public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageC
|
||||
|
||||
/**
|
||||
* Construct a new {@code ProtobufJsonFormatHttpMessageConverter} with the given
|
||||
* {@link JsonFormat.Parser} and {@link JsonFormat.Printer} configuration, also
|
||||
* {@code JsonFormat.Parser} and {@code JsonFormat.Printer} configuration, also
|
||||
* accepting a registry that specifies protocol message extensions.
|
||||
* @param parser the JSON parser configuration
|
||||
* @param printer the JSON printer configuration
|
||||
@@ -78,7 +78,7 @@ public class ProtobufJsonFormatHttpMessageConverter extends ProtobufHttpMessageC
|
||||
|
||||
/**
|
||||
* Construct a new {@code ProtobufJsonFormatHttpMessageConverter} with the given
|
||||
* {@link JsonFormat.Parser} and {@link JsonFormat.Printer} configuration, also
|
||||
* {@code JsonFormat.Parser} and {@code JsonFormat.Printer} configuration, also
|
||||
* accepting an initializer that allows the registration of message extensions.
|
||||
* @param parser the JSON parser configuration
|
||||
* @param printer the JSON printer configuration
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,16 +24,16 @@ import reactor.core.publisher.Mono;
|
||||
*
|
||||
* <p>Higher-level, but still generic, building blocks for applications such as
|
||||
* {@code WebFilter}, {@code WebSession}, {@code ServerWebExchange}, and others
|
||||
* are available in the {@link org.springframework.web.server} package.
|
||||
* are available in the {@code org.springframework.web.server} package.
|
||||
*
|
||||
* <p>Application level programming models such as annotated controllers and
|
||||
* functional handlers are available in the {@code spring-webflux} module.
|
||||
*
|
||||
* <p>Typically an {@link HttpHandler} represents an entire application with
|
||||
* higher-level programming models bridged via
|
||||
* {@link org.springframework.web.server.adapter.WebHttpHandlerBuilder
|
||||
* WebHttpHandlerBuilder}. Multiple applications at unique context paths can be
|
||||
* plugged in with the help of the {@link ContextPathCompositeHandler}.
|
||||
* {@link org.springframework.web.server.adapter.WebHttpHandlerBuilder}.
|
||||
* Multiple applications at unique context paths can be plugged in with the
|
||||
* help of the {@link ContextPathCompositeHandler}.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @author Rossen Stoyanchev
|
||||
|
||||
@@ -55,8 +55,8 @@ public class DefaultResponseErrorHandler implements ResponseErrorHandler {
|
||||
/**
|
||||
* Template method called from {@link #hasError(ClientHttpResponse)}.
|
||||
* <p>The default implementation checks if the given status code is
|
||||
* {@link HttpStatus.Series#CLIENT_ERROR CLIENT_ERROR} or
|
||||
* {@link HttpStatus.Series#SERVER_ERROR SERVER_ERROR}.
|
||||
* {@code HttpStatus.Series#CLIENT_ERROR CLIENT_ERROR} or
|
||||
* {@code HttpStatus.Series#SERVER_ERROR SERVER_ERROR}.
|
||||
* Can be overridden in subclasses.
|
||||
* @param statusCode the HTTP status code
|
||||
* @return {@code true} if the response has an error; {@code false} otherwise
|
||||
|
||||
@@ -45,10 +45,10 @@ import org.springframework.util.CollectionUtils;
|
||||
* {@linkplain #setSeriesMapping(Map) series mapping}.
|
||||
*
|
||||
* <p>If there is no match, this error handler will default to the behavior of
|
||||
* {@link DefaultResponseErrorHandler}. Note that you can override this default behavior by
|
||||
* specifying a {@linkplain #setSeriesMapping(Map) series mapping} from
|
||||
* {@link HttpStatus.Series#CLIENT_ERROR} and/or {@link HttpStatus.Series#SERVER_ERROR} to
|
||||
* {@code null}.
|
||||
* {@link DefaultResponseErrorHandler}. Note that you can override this default behavior
|
||||
* by specifying a {@linkplain #setSeriesMapping(Map) series mapping} from
|
||||
* {@code HttpStatus.Series#CLIENT_ERROR} and/or {@code HttpStatus.Series#SERVER_ERROR}
|
||||
* to {@code null}.
|
||||
*
|
||||
* @author Simon Galperin
|
||||
* @author Arjen Poutsma
|
||||
|
||||
@@ -73,7 +73,7 @@ import org.springframework.web.util.UriTemplateHandler;
|
||||
* support of less frequent cases.
|
||||
*
|
||||
* <p><strong>NOTE:</strong> As of 5.0, the non-blocking, reactive
|
||||
* {@link org.springframework.web.reactive.client.WebClient WebClient} offers a
|
||||
* {@code org.springframework.web.reactive.client.WebClient} offers a
|
||||
* modern alternative to the {@code RestTemplate} with efficient support for
|
||||
* both sync and async, as well as streaming scenarios. The {@code RestTemplate}
|
||||
* will be deprecated in a future version and will not have major new features
|
||||
|
||||
@@ -81,10 +81,8 @@ public class CookieWebSessionIdResolver implements WebSessionIdResolver {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add {@link Consumer} for a {@link ResponseCookie.ResponseCookieBuilder
|
||||
* ResponseCookieBuilder} that will be invoked for each cookie being built,
|
||||
* just before the call to
|
||||
* {@link ResponseCookie.ResponseCookieBuilder#build() build()}.
|
||||
* Add {@link Consumer} for a {@code ResponseCookieBuilder} that will be invoked
|
||||
* for each cookie being built, just before the call to {@code build()}.
|
||||
* @param initializer consumer for a cookie builder
|
||||
* @since 5.1
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user