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