public static Function < HttpRequest , String > PREFIXED_REQUEST_TARGET_NAME ( final String prefix ) { return ( request ) - > replaceIfNull ( prefix , "" ) + replaceIfNull ( standardizeUri ( request . getRequestLine ( ) . getUri ( ) ) , "unknown" ) ; }
A configurable version of REQUEST_TARGET_NAME