public final class Http2Server extends Http2Connection.Listener
REFUSE_INCOMING_STREAMS| Constructor and Description |
|---|
Http2Server(File baseDirectory,
SSLSocketFactory sslSocketFactory) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String... args) |
void |
onStream(Http2Stream stream)
Handle a new stream from this connection's peer.
|
onSettingspublic Http2Server(File baseDirectory, SSLSocketFactory sslSocketFactory)
public void onStream(Http2Stream stream) throws IOException
Http2Connection.ListeneronStream in class Http2Connection.ListenerIOExceptionCopyright © 2017. All Rights Reserved.