parent
c36b80bd75
commit
9a4164c4a8
|
@ -187,7 +187,7 @@ public abstract class AbstractListenerWriteFlushProcessor<T> implements Processo
|
|||
|
||||
/**
|
||||
* Invoked when an error happens while flushing.
|
||||
* <p>The default implementation cancels the upstream write publisher and
|
||||
* <p>The default implementation cancels the upstream write publisher and
|
||||
* sends an onError downstream as the result of request handling.
|
||||
*/
|
||||
protected void flushingFailed(Throwable t) {
|
||||
|
|
|
@ -52,7 +52,7 @@ public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage
|
|||
* not including the {@link #getQueryParams() query}.
|
||||
* <p>The returned path is sub-divided into a
|
||||
* {@link RequestPath#contextPath()} portion and the remaining
|
||||
* {@link RequestPath#pathWithinApplication() pathwithinApplication} portion.
|
||||
* {@link RequestPath#pathWithinApplication() pathWithinApplication} portion.
|
||||
* The latter can be passed into methods of
|
||||
* {@link org.springframework.web.util.pattern.PathPattern} for path
|
||||
* matching purposes.
|
||||
|
|
|
@ -66,7 +66,7 @@ public class HttpComponentsClientHttpRequestFactoryTests extends AbstractHttpReq
|
|||
|
||||
Object config = request.getHttpContext().getAttribute(HttpClientContext.REQUEST_CONFIG);
|
||||
assertThat(config).as("Request config should be set").isNotNull();
|
||||
assertThat(config).as("Wrong request config type" + config.getClass().getName()).isInstanceOf(RequestConfig.class);
|
||||
assertThat(config).as("Wrong request config type " + config.getClass().getName()).isInstanceOf(RequestConfig.class);
|
||||
RequestConfig requestConfig = (RequestConfig) config;
|
||||
assertThat(requestConfig.getConnectTimeout()).as("Wrong custom connection timeout").isEqualTo(1234);
|
||||
assertThat(requestConfig.getConnectionRequestTimeout()).as("Wrong custom connection request timeout").isEqualTo(4321);
|
||||
|
|
|
@ -229,7 +229,7 @@ public class PathMatchConfigurer {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the configure UrlPathHelper or a default, shared instance otherwise.
|
||||
* Return the configured UrlPathHelper or a default, shared instance otherwise.
|
||||
* @since 5.3
|
||||
*/
|
||||
protected UrlPathHelper getUrlPathHelperOrDefault() {
|
||||
|
@ -243,7 +243,7 @@ public class PathMatchConfigurer {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the configure PathMatcher or a default, shared, instance otherwise.
|
||||
* Return the configured PathMatcher or a default, shared instance otherwise.
|
||||
* @since 5.3
|
||||
*/
|
||||
protected PathMatcher getPathMatcherOrDefault() {
|
||||
|
@ -257,7 +257,7 @@ public class PathMatchConfigurer {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the configured PathPatternParser or a default, shared, instance otherwise.
|
||||
* Return the configured PathPatternParser or a default, shared instance otherwise.
|
||||
* @since 5.3.4
|
||||
*/
|
||||
public PathPatternParser getPatternParserOrDefault() {
|
||||
|
|
Loading…
Reference in New Issue