Package jenkins.websocket
Class WebSocketSession
java.lang.Object
jenkins.websocket.WebSocketSession
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public abstract class WebSocketSession
extends Object
One WebSocket connection.
- Since:
 - 2.216
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidbinary(byte[] payload, int offset, int len) protected final voidclose()protected voidprotected voidprotected voidopened()sendBinary(ByteBuffer data) sendBinary(ByteBuffer partialByte, boolean isLast) protected void 
- 
Constructor Details
- 
WebSocketSession
protected WebSocketSession() 
 - 
 - 
Method Details
- 
opened
protected void opened() - 
closed
 - 
error
 - 
binary
- Throws:
 IOException
 - 
text
- Throws:
 IOException
 - 
sendBinary
- Throws:
 IOException
 - 
sendBinary
- Throws:
 IOException
 - 
sendText
- Throws:
 IOException
 - 
close
- Throws:
 IOException
 
 -