Package org.eclipse.jetty.client
Class Origin.Protocol
java.lang.Object
org.eclipse.jetty.client.Origin.Protocol
- Enclosing class:
 - Origin
 
The representation of a network protocol.
A network protocol may have multiple protocol names
 associated to it, for example ["h2", "h2-17", "h2-16"].
A Protocol is then rendered into a ClientConnectionFactory
 chain, for example in
 HttpClientTransportDynamic.newConnection(EndPoint, Map).
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Protocol
Creates a Protocol with the given list of protocol names and whether it should negotiate the protocol.- Parameters:
 protocols- the protocol namesnegotiate- whether the protocol should be negotiated
 
 - 
 - 
Method Details