Clean up warnings in Javadoc

This commit is contained in:
Sam Brannen 2019-08-17 13:21:28 +02:00
parent 504d2a41f1
commit bbe33832cf
3 changed files with 14 additions and 13 deletions

View File

@ -64,7 +64,7 @@ import org.springframework.util.StringUtils;
* {@link io.rsocket.RSocketFactory.ClientRSocketFactory ClientRSocketFactory}, * {@link io.rsocket.RSocketFactory.ClientRSocketFactory ClientRSocketFactory},
* or use the static shortcut * or use the static shortcut
* {@link #clientResponder(RSocketStrategies, Object...)} to obtain a configurer * {@link #clientResponder(RSocketStrategies, Object...)} to obtain a configurer
* for {@link RSocketRequester.Builder#rsocketFactory}. * for {@link org.springframework.messaging.rsocket.RSocketRequester.Builder#rsocketFactory}.
* *
* @author Rossen Stoyanchev * @author Rossen Stoyanchev
* @since 5.2 * @since 5.2
@ -93,8 +93,8 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* likewise when this property is set the {@code RSocketStrategies} are * likewise when this property is set the {@code RSocketStrategies} are
* mutated to change the encoders in it. * mutated to change the encoders in it.
* <p>By default this is set to the * <p>By default this is set to the
* {@link RSocketStrategies.Builder#encoder(Encoder[]) defaults} from * {@linkplain org.springframework.messaging.rsocket.RSocketStrategies.Builder#encoder(Encoder[]) defaults}
* {@code RSocketStrategies}. * from {@code RSocketStrategies}.
*/ */
public void setEncoders(List<? extends Encoder<?>> encoders) { public void setEncoders(List<? extends Encoder<?>> encoders) {
this.encoders.clear(); this.encoders.clear();
@ -121,8 +121,8 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* likewise when this property is set the {@code RSocketStrategies} are * likewise when this property is set the {@code RSocketStrategies} are
* mutated to change the decoders in them. * mutated to change the decoders in them.
* <p>By default this is set to the * <p>By default this is set to the
* {@link RSocketStrategies.Builder#decoder(Decoder[]) defaults} from * {@linkplain org.springframework.messaging.rsocket.RSocketStrategies.Builder#decoder(Decoder[]) defaults}
* {@code RSocketStrategies}. * from {@code RSocketStrategies}.
*/ */
@Override @Override
public void setDecoders(List<? extends Decoder<?>> decoders) { public void setDecoders(List<? extends Decoder<?>> decoders) {
@ -142,7 +142,7 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* likewise when this property is set the {@code RSocketStrategies} are * likewise when this property is set the {@code RSocketStrategies} are
* mutated to change the matcher in it. * mutated to change the matcher in it.
* <p>By default this is set to the * <p>By default this is set to the
* {@link RSocketStrategies.Builder#routeMatcher(RouteMatcher) defaults} * {@linkplain org.springframework.messaging.rsocket.RSocketStrategies.Builder#routeMatcher(RouteMatcher) defaults}
* from {@code RSocketStrategies}. * from {@code RSocketStrategies}.
*/ */
@Override @Override
@ -158,7 +158,7 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* likewise when this property is set the {@code RSocketStrategies} are * likewise when this property is set the {@code RSocketStrategies} are
* mutated to change the registry in it. * mutated to change the registry in it.
* <p>By default this is set to the * <p>By default this is set to the
* {@link RSocketStrategies.Builder#reactiveAdapterStrategy(ReactiveAdapterRegistry) defaults} * {@link org.springframework.messaging.rsocket.RSocketStrategies.Builder#reactiveAdapterStrategy(ReactiveAdapterRegistry) defaults}
* from {@code RSocketStrategies}. * from {@code RSocketStrategies}.
*/ */
@Override @Override
@ -175,7 +175,7 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* likewise when this property is set the {@code RSocketStrategies} are * likewise when this property is set the {@code RSocketStrategies} are
* mutated to change the extractor in it. * mutated to change the extractor in it.
* <p>By default this is set to the * <p>By default this is set to the
* {@link RSocketStrategies.Builder#metadataExtractor(MetadataExtractor)} defaults} * {@link org.springframework.messaging.rsocket.RSocketStrategies.Builder#metadataExtractor(MetadataExtractor)} defaults}
* from {@code RSocketStrategies}. * from {@code RSocketStrategies}.
* @param extractor the extractor to use * @param extractor the extractor to use
*/ */
@ -386,7 +386,7 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
/** /**
* Static factory method for a configurer of a client side responder with * Static factory method for a configurer of a client side responder with
* annotated handler methods. This is intended to be passed into * annotated handler methods. This is intended to be passed into
* {@link RSocketRequester.Builder#rsocketFactory(ClientRSocketFactoryConfigurer)}. * {@link org.springframework.messaging.rsocket.RSocketRequester.Builder#rsocketFactory(ClientRSocketFactoryConfigurer)}.
* <p>In effect a shortcut to create and initialize * <p>In effect a shortcut to create and initialize
* {@code RSocketMessageHandler} with the given strategies and handlers, * {@code RSocketMessageHandler} with the given strategies and handlers,
* and use {@link #clientResponder()} to obtain the responder. * and use {@link #clientResponder()} to obtain the responder.
@ -399,7 +399,7 @@ public class RSocketMessageHandler extends MessageMappingMessageHandler {
* handler methods; used to call {@link #setHandlers(List)} with * handler methods; used to call {@link #setHandlers(List)} with
* on the created {@code RSocketMessageHandler} * on the created {@code RSocketMessageHandler}
* @return a configurer that may be passed into * @return a configurer that may be passed into
* {@link RSocketRequester.Builder#rsocketFactory(ClientRSocketFactoryConfigurer)} * {@link org.springframework.messaging.rsocket.RSocketRequester.Builder#rsocketFactory(ClientRSocketFactoryConfigurer)}
*/ */
public static ClientRSocketFactoryConfigurer clientResponder( public static ClientRSocketFactoryConfigurer clientResponder(
RSocketStrategies strategies, Object... candidateHandlers) { RSocketStrategies strategies, Object... candidateHandlers) {

View File

@ -81,7 +81,8 @@ public class PathPatternParser {
/** /**
* Set options for parsing patterns. These should be the same as the * Set options for parsing patterns. These should be the same as the
* options used to parse input paths. * options used to parse input paths.
* <p>{@link PathContainer.Options#HTTP_PATH} is used by default. * <p>{@link org.springframework.http.server.PathContainer.Options#HTTP_PATH}
* is used by default.
* @since 5.2 * @since 5.2
*/ */
public void setPathOptions(PathContainer.Options pathOptions) { public void setPathOptions(PathContainer.Options pathOptions) {

View File

@ -42,8 +42,8 @@ public class PathPatternRouteMatcher implements RouteMatcher {
/** /**
* Default constructor with {@link PathPatternParser} customized for * Default constructor with {@link PathPatternParser} customized for
* {@link PathContainer.Options#MESSAGE_ROUTE MESSAGE_ROUTE} and without * {@link org.springframework.http.server.PathContainer.Options#MESSAGE_ROUTE MESSAGE_ROUTE}
* matching of trailing separator. * and without matching of trailing separator.
*/ */
public PathPatternRouteMatcher() { public PathPatternRouteMatcher() {
this.parser = new PathPatternParser(); this.parser = new PathPatternParser();