commit
e73ee7b3fe
|
|
@ -198,12 +198,6 @@ public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappi
|
||||||
return this.corsConfiguration;
|
return this.corsConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Mono<HandlerMethod> getHandlerInternal(ServerWebExchange exchange) {
|
|
||||||
return super.getHandlerInternal(exchange)
|
|
||||||
.doOnTerminate(() -> ProducesRequestCondition.clearMediaTypesAttribute(exchange));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isHandler(Class<?> beanType) {
|
protected boolean isHandler(Class<?> beanType) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -231,16 +231,6 @@ public abstract class AbstractWebMvcEndpointHandlerMapping extends RequestMappin
|
||||||
return this.corsConfiguration;
|
return this.corsConfiguration;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected HandlerMethod getHandlerInternal(HttpServletRequest request) throws Exception {
|
|
||||||
try {
|
|
||||||
return super.getHandlerInternal(request);
|
|
||||||
}
|
|
||||||
finally {
|
|
||||||
ProducesRequestCondition.clearMediaTypesAttribute(request);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isHandler(Class<?> beanType) {
|
protected boolean isHandler(Class<?> beanType) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue