@Deprecated public interface Notifiable
org.restlet.engine.http.connector.Connection
that can be notified of
stream events.Modifier and Type | Method and Description |
---|---|
void |
onEndReached()
Deprecated.
To be called when the end of the stream is reached.
|
void |
onError()
Deprecated.
To be called when there is an error when handling the stream.
|
void onEndReached()
org.restlet.engine.http.connector.Connection#setInboundBusy(boolean)
) .void onError()
onEndReached()
and set the state of the connection to
org.restlet.engine.http.connector.ConnectionState#CLOSING
in
order to release this stream.Copyright © 2005–2018. All rights reserved.