Package io.undertow.client
Class JDK9ALPNClientProvider
- java.lang.Object
-
- io.undertow.client.JDK9ALPNClientProvider
-
public class JDK9ALPNClientProvider extends Object
Plaintext HTTP2 client provider that works using HTTP upgrade- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description JDK9ALPNClientProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled()voidrunAlpn(org.xnio.ssl.SslConnection connection, org.xnio.ChannelListener<org.xnio.ssl.SslConnection> fallback, ClientCallback<ClientConnection> failedListener, ALPNClientSelector.ALPNProtocol... details)
-
-
-
Method Detail
-
runAlpn
public void runAlpn(org.xnio.ssl.SslConnection connection, org.xnio.ChannelListener<org.xnio.ssl.SslConnection> fallback, ClientCallback<ClientConnection> failedListener, ALPNClientSelector.ALPNProtocol... details)
-
isEnabled
public boolean isEnabled()
-
-