Package org.eclipse.jetty.io
Interface ClientConnectionFactory.Decorator
-
- All Known Implementing Classes:
ProxyProtocolClientConnectionFactory.V1.Tag
,ProxyProtocolClientConnectionFactory.V2.Tag
- Enclosing interface:
- ClientConnectionFactory
public static interface ClientConnectionFactory.Decorator
Wraps another ClientConnectionFactory.
This is typically done by protocols that send "preface" bytes with some metadata before other protocols. The metadata could be, for example, proxying information or authentication information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientConnectionFactory
apply(ClientConnectionFactory factory)
Wraps the givenfactory
.
-
-
-
Method Detail
-
apply
ClientConnectionFactory apply(ClientConnectionFactory factory)
Wraps the given
factory
.- Parameters:
factory
- the ClientConnectionFactory to wrap- Returns:
- the wrapping ClientConnectionFactory
-
-