Interface IncomingStreamHandler
public interface IncomingStreamHandler
Listener to be notified when a connected peer creates a new stream.
-
Field Summary
Fields Modifier and Type Field Description static IncomingStreamHandlerREFUSE_INCOMING_STREAMS -
Method Summary
Modifier and Type Method Description voidreceive(SpdyStream stream)Handle a new stream from this connection's peer.
-
Field Details
-
REFUSE_INCOMING_STREAMS
-
-
Method Details
-
receive
Handle a new stream from this connection's peer. Implementations should respond by eitherreplying to the streamorclosing it. This response does not need to be synchronous.- Throws:
IOException
-