Skip to content

Commit

Permalink
Fix broken links in JavaDoc
Browse files Browse the repository at this point in the history
Issue: SPR-17174
  • Loading branch information
sbrannen committed Aug 13, 2018
1 parent 13c090b commit 8126ffb
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.springframework.util.Assert;

/**
* A {@link java.util.function Supplier} decorator that caches a singleton result and
* A {@link java.util.function.Supplier} decorator that caches a singleton result and
* makes it available from {@link #get()} (nullable) and {@link #obtain()} (null-safe).
*
* <p>A {@code SingletonSupplier} can be constructed via {@code of} factory methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,10 @@ interface RouterFunctionSpec extends MockServerSpec<RouterFunctionSpec> {


/**
* Steps for customizing the {@link WebClient} used to test with
* internally delegating to a {@link WebClient.Builder}.
* Steps for customizing the {@link WebClient} used to test with,
* internally delegating to a
* {@link org.springframework.web.reactive.function.client.WebClient.Builder
* WebClient.Builder}.
*/
interface Builder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@
import org.springframework.util.CollectionUtils;

/**
* Implementation of {@link ResponseErrorHandler} that uses {@link HttpMessageConverter ResponseErrorHandler} that uses {@link HttpMessageConverters} to
* convert HTTP error responses to {@link RestClientException}.
* Implementation of {@link ResponseErrorHandler} that uses {@link HttpMessageConverter
* HttpMessageConverters} to convert HTTP error responses to {@link RestClientException
* RestClientExceptions}.
*
* <p>To use this error handler, you must specify a
* {@linkplain #setStatusMapping(Map) status mapping} and/or a
* {@linkplain #setSeriesMapping(Map) series mapping}. If either of these mappings has a match
* for the {@linkplain ClientHttpResponse#getStatusCode() status code} of a given
* {@code ClientHttpResponse}, {@link #hasError(ClientHttpResponse)} will return
* {@code true} and {@link #handleError(ClientHttpResponse)} will attempt to use the
* {@code true}, and {@link #handleError(ClientHttpResponse)} will attempt to use the
* {@linkplain #setMessageConverters(List) configured message converters} to convert the response
* into the mapped subclass of {@link RestClientException}. Note that the
* {@linkplain #setStatusMapping(Map) status mapping} takes precedence over
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import org.springframework.web.server.WebHandler;

/**
* {@link WebHandler} decorator that invokes a chain of {@link WebFilter WebHandler} decorator that invokes a chain of {@link WebFilters}
* before the delegate {@link WebHandler}.
* {@link WebHandlerDecorator} that invokes a chain of {@link WebFilter WebFilters}
* before invoking the delegate {@link WebHandler}.
*
* @author Rossen Stoyanchev
* @since 5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -23,7 +23,7 @@
import org.springframework.web.server.WebHandler;

/**
* {@link WebHandler} that decorates and delegates to another.
* {@link WebHandler} that decorates and delegates to another {@code WebHandler}.
*
* @author Rossen Stoyanchev
* @since 5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public interface WebFluxConfigurer {

/**
* Configure how the content type requested for the response is resolved
* when handling reqests with annotated controllers.
* when handling requests with annotated controllers.
* @param builder for configuring the resolvers to use
*/
default void configureContentTypeResolver(RequestedContentTypeResolverBuilder builder) {
Expand Down Expand Up @@ -96,16 +96,16 @@ default void configureHttpMessageCodecs(ServerCodecConfigurer configurer) {
}

/**
* Add custom {@link Converter}s and {@link Formatter Converter}s and {@link Formatters} for performing type
* conversion and formatting of annotated controller method arguments.
* Add custom {@link Converter Converters} and {@link Formatter Formatters} for
* performing type conversion and formatting of annotated controller method arguments.
*/
default void addFormatters(FormatterRegistry registry) {
}

/**
* Provide a custom {@link Validator}.
* <p>By default a validator for standard bean validation is created if
* bean validation api is present on the classpath.
* bean validation API is present on the classpath.
* <p>The configured validator is used for validating annotated controller
* method arguments.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
import org.springframework.web.servlet.ModelAndView;

/**
* A {@link HandlerExceptionResolver} that delegates to a list of other {@link HandlerExceptionResolver HandlerExceptionResolver} that delegates to a list of other {@link HandlerExceptionResolvers}.
* A {@link HandlerExceptionResolver} that delegates to a list of other
* {@link HandlerExceptionResolver HandlerExceptionResolvers}.
*
* @author Rossen Stoyanchev
* @since 3.1
Expand Down Expand Up @@ -66,7 +67,8 @@ public int getOrder() {

/**
* Resolve the exception by iterating over the list of configured exception resolvers.
* The first one to return a ModelAndView instance wins. Otherwise {@code null} is returned.
* <p>The first one to return a {@link ModelAndView} wins. Otherwise {@code null}
* is returned.
*/
@Override
@Nullable
Expand Down

0 comments on commit 8126ffb

Please sign in to comment.