@ -39,7 +39,6 @@ import org.springframework.http.HttpLogging;
@@ -39,7 +39,6 @@ import org.springframework.http.HttpLogging;
import org.springframework.http.HttpMethod ;
import org.springframework.lang.Nullable ;
import org.springframework.util.Assert ;
import org.springframework.util.ClassUtils ;
import org.springframework.util.LinkedMultiValueMap ;
import org.springframework.util.MultiValueMap ;
@ -52,10 +51,6 @@ import org.springframework.util.MultiValueMap;
@@ -52,10 +51,6 @@ import org.springframework.util.MultiValueMap;
* /
class ReactorServerHttpRequest extends AbstractServerHttpRequest {
/** Reactor Netty 1.0.5+. */
static final boolean reactorNettyRequestChannelOperationsIdPresent = ClassUtils . isPresent (
"reactor.netty.ChannelOperationsId" , ReactorServerHttpRequest . class . getClassLoader ( ) ) ;
private static final Log logger = HttpLogging . forLogName ( ReactorServerHttpRequest . class ) ;
@ -212,11 +207,9 @@ class ReactorServerHttpRequest extends AbstractServerHttpRequest {
@@ -212,11 +207,9 @@ class ReactorServerHttpRequest extends AbstractServerHttpRequest {
@Override
protected String initLogPrefix ( ) {
if ( reactorNettyRequestChannelOperationsIdPresent ) {
String id = ( ChannelOperationsIdHelper . getId ( this . request ) ) ;
if ( id ! = null ) {
return id ;
}
String id = ( ChannelOperationsIdHelper . getId ( this . request ) ) ;
if ( id ! = null ) {
return id ;
}
if ( this . request instanceof Connection ) {
return ( ( Connection ) this . request ) . channel ( ) . id ( ) . asShortText ( ) +