Class JsrEvents<T extends Annotation, C extends javax.websocket.EndpointConfig>
java.lang.Object
org.eclipse.jetty.websocket.jsr356.annotations.JsrEvents<T,C>
- Type Parameters:
T- the annotation typeC- the endpoint config type
public class JsrEvents<T extends Annotation, C extends javax.websocket.EndpointConfig>
extends Object
The live event methods found for a specific Annotated Endpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcallBinary(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, ByteBuffer buf, boolean fin) voidcallBinaryStream(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, InputStream stream) voidvoidvoidvoidcallPong(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, ByteBuffer pong) voidvoidcallTextStream(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, Reader reader) booleanbooleanbooleanhasText()booleanvoidinit(JsrSession session) booleanbooleanvoidsetPathParameters(Map<String, String> pathParameters)
-
Constructor Details
-
JsrEvents
-
-
Method Details
-
callBinary
public void callBinary(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, ByteBuffer buf, boolean fin) throws javax.websocket.DecodeException - Throws:
javax.websocket.DecodeException
-
callBinaryStream
public void callBinaryStream(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, InputStream stream) throws javax.websocket.DecodeException, IOException - Throws:
javax.websocket.DecodeExceptionIOException
-
callClose
-
callError
-
callOpen
-
callPong
public void callPong(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, ByteBuffer pong) -
callText
-
callTextStream
public void callTextStream(javax.websocket.RemoteEndpoint.Async endpoint, Object websocket, Reader reader) throws javax.websocket.DecodeException, IOException - Throws:
javax.websocket.DecodeExceptionIOException
-
getMetadata
-
hasBinary
public boolean hasBinary() -
hasBinaryStream
public boolean hasBinaryStream() -
hasText
public boolean hasText() -
hasTextStream
public boolean hasTextStream() -
init
-
isBinaryPartialSupported
public boolean isBinaryPartialSupported() -
isTextPartialSupported
public boolean isTextPartialSupported() -
setPathParameters
-