This commit is contained in:
Johnny Lim
2018-04-27 00:34:21 +09:00
committed by Rossen Stoyanchev
parent 7aba6ca9d6
commit c6b60f0c00
6 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ import org.springframework.lang.Nullable;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
* {@code HttpMessageWriter} that wraps and delegates to a {@link Encoder}. * {@code HttpMessageWriter} that wraps and delegates to an {@link Encoder}.
* *
* <p>Also a {@code HttpMessageWriter} that pre-resolves encoding hints * <p>Also a {@code HttpMessageWriter} that pre-resolves encoding hints
* from the extra information available on the server side such as the request * from the extra information available on the server side such as the request

View File

@@ -82,7 +82,7 @@ public interface ExchangeStrategies {
/** /**
* A mutable builder for a {@link ExchangeStrategies}. * A mutable builder for an {@link ExchangeStrategies}.
*/ */
interface Builder { interface Builder {

View File

@@ -50,7 +50,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
private final List<ProduceMediaTypeExpression> mediaTypeAllList = private final List<ProduceMediaTypeExpression> mediaTypeAllList =
Collections.singletonList(new ProduceMediaTypeExpression("*/*")); Collections.singletonList(new ProduceMediaTypeExpression(MediaType.ALL_VALUE));
private final List<ProduceMediaTypeExpression> expressions; private final List<ProduceMediaTypeExpression> expressions;
@@ -280,7 +280,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
/** /**
* Return the contained "produces" expressions or if that's empty, a list * Return the contained "produces" expressions or if that's empty, a list
* with a {@code MediaType_ALL} expression. * with a {@value MediaType#ALL_VALUE} expression.
*/ */
private List<ProduceMediaTypeExpression> getExpressionsToCompare() { private List<ProduceMediaTypeExpression> getExpressionsToCompare() {
return (this.expressions.isEmpty() ? mediaTypeAllList : this.expressions); return (this.expressions.isEmpty() ? mediaTypeAllList : this.expressions);

View File

@@ -137,7 +137,7 @@ public abstract class AbstractListenerWebSocketSession<T> extends AbstractWebSoc
* Suspend receiving until received message(s) are processed and more demand * Suspend receiving until received message(s) are processed and more demand
* is generated by the downstream Subscriber. * is generated by the downstream Subscriber.
* <p><strong>Note:</strong> if the underlying WebSocket API does not provide * <p><strong>Note:</strong> if the underlying WebSocket API does not provide
* flow control for receiving messages, and this method should be a no-op * flow control for receiving messages, this method should be a no-op
* and {@link #canSuspendReceiving()} should return {@code false}. * and {@link #canSuspendReceiving()} should return {@code false}.
*/ */
protected abstract void suspendReceiving(); protected abstract void suspendReceiving();
@@ -146,7 +146,7 @@ public abstract class AbstractListenerWebSocketSession<T> extends AbstractWebSoc
* Resume receiving new message(s) after demand is generated by the * Resume receiving new message(s) after demand is generated by the
* downstream Subscriber. * downstream Subscriber.
* <p><strong>Note:</strong> if the underlying WebSocket API does not provide * <p><strong>Note:</strong> if the underlying WebSocket API does not provide
* flow control for receiving messages, and this method should be a no-op * flow control for receiving messages, this method should be a no-op
* and {@link #canSuspendReceiving()} should return {@code false}. * and {@link #canSuspendReceiving()} should return {@code false}.
*/ */
protected abstract void resumeReceiving(); protected abstract void resumeReceiving();

View File

@@ -53,7 +53,7 @@ import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
/** /**
* Integration tests using a {@link ExchangeFunction} through {@link WebClient}. * Integration tests using an {@link ExchangeFunction} through {@link WebClient}.
* *
* @author Brian Clozel * @author Brian Clozel
* @author Rossen Stoyanchev * @author Rossen Stoyanchev

View File

@@ -52,7 +52,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
private static final ProducesRequestCondition EMPTY_CONDITION = new ProducesRequestCondition(); private static final ProducesRequestCondition EMPTY_CONDITION = new ProducesRequestCondition();
private static final List<ProduceMediaTypeExpression> MEDIA_TYPE_ALL_LIST = private static final List<ProduceMediaTypeExpression> MEDIA_TYPE_ALL_LIST =
Collections.singletonList(new ProduceMediaTypeExpression("*/*")); Collections.singletonList(new ProduceMediaTypeExpression(MediaType.ALL_VALUE));
private final List<ProduceMediaTypeExpression> expressions; private final List<ProduceMediaTypeExpression> expressions;
@@ -300,7 +300,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
/** /**
* Return the contained "produces" expressions or if that's empty, a list * Return the contained "produces" expressions or if that's empty, a list
* with a {@code MediaType_ALL} expression. * with a {@value MediaType#ALL_VALUE} expression.
*/ */
private List<ProduceMediaTypeExpression> getExpressionsToCompare() { private List<ProduceMediaTypeExpression> getExpressionsToCompare() {
return (this.expressions.isEmpty() ? MEDIA_TYPE_ALL_LIST : this.expressions); return (this.expressions.isEmpty() ? MEDIA_TYPE_ALL_LIST : this.expressions);