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
Modifier and TypeMethodDescriptionapply
(ClientConnectionFactory factory) Wraps the givenfactory
.
-
Method Details
-
apply
Wraps the given
factory
.- Parameters:
factory
- the ClientConnectionFactory to wrap- Returns:
- the wrapping ClientConnectionFactory
-