Package org.cometd.client.transport
Class TransportRegistry
- java.lang.Object
-
- org.cometd.client.transport.TransportRegistry
-
public class TransportRegistry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TransportRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ClientTransport transport)
java.util.List<java.lang.String>
getAllowedTransports()
java.util.Set<java.lang.String>
getKnownTransports()
ClientTransport
getTransport(java.lang.String transport)
java.util.List<ClientTransport>
negotiate(java.lang.Object[] requestedTransports, java.lang.String bayeuxVersion)
-
-
-
Method Detail
-
add
public void add(ClientTransport transport)
-
getKnownTransports
public java.util.Set<java.lang.String> getKnownTransports()
-
getAllowedTransports
public java.util.List<java.lang.String> getAllowedTransports()
-
negotiate
public java.util.List<ClientTransport> negotiate(java.lang.Object[] requestedTransports, java.lang.String bayeuxVersion)
-
getTransport
public ClientTransport getTransport(java.lang.String transport)
-
-