Package org.eclipse.jetty.websocket.api
Interface WriteCallback
- All Known Implementing Classes:
WriteCallback.Adaptor
public interface WriteCallback
Callback for Write events.
NOTE: We don't expose org.eclipse.jetty.util.Callback here as that would complicate matters with the WebAppContext's classloader isolation.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Callback invoked when the write fails.default void
Callback invoked when the write succeeds.
-
Field Details
-
NOOP
-
-
Method Details
-
writeFailed
Callback invoked when the write fails.
- Parameters:
x
- the reason for the write failure
-
writeSuccess
default void writeSuccess()Callback invoked when the write succeeds.
- See Also:
-