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).
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
EXCLUDED_PROTOCOLS_ATTRIBUTE
 
 - 
 - 
Constructor Details
- 
Protocol
 
 - 
 - 
Method Details
- 
getProtocols
 - 
isNegotiate
public boolean isNegotiate()- Returns:
 - true if this protocol should be negotiated, false otherwise
 
 - 
equals
 - 
hashCode
 - 
asString
- Returns:
 - a string representation of this protocol
 
 - 
toString
 
 -