Class JsrEvents<T extends java.lang.annotation.Annotation,​C extends javax.websocket.EndpointConfig>

  • Type Parameters:
    T - the annotation type
    C - the endpoint config type

    public class JsrEvents<T extends java.lang.annotation.Annotation,​C extends javax.websocket.EndpointConfig>
    extends java.lang.Object
    The live event methods found for a specific Annotated Endpoint
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void callBinary​(javax.websocket.RemoteEndpoint.Async endpoint, java.lang.Object websocket, java.nio.ByteBuffer buf, boolean fin)  
      void callBinaryStream​(javax.websocket.RemoteEndpoint.Async endpoint, java.lang.Object websocket, java.io.InputStream stream)  
      void callClose​(java.lang.Object websocket, javax.websocket.CloseReason close)  
      void callError​(java.lang.Object websocket, java.lang.Throwable cause)  
      void callOpen​(java.lang.Object websocket, javax.websocket.EndpointConfig config)  
      void callPong​(javax.websocket.RemoteEndpoint.Async endpoint, java.lang.Object websocket, java.nio.ByteBuffer pong)  
      void callText​(javax.websocket.RemoteEndpoint.Async endpoint, java.lang.Object websocket, java.lang.String text, boolean fin)  
      void callTextStream​(javax.websocket.RemoteEndpoint.Async endpoint, java.lang.Object websocket, java.io.Reader reader)  
      AnnotatedEndpointMetadata<T,​C> getMetadata()  
      boolean hasBinary()  
      boolean hasBinaryStream()  
      boolean hasText()  
      boolean hasTextStream()  
      void init​(JsrSession session)  
      boolean isBinaryPartialSupported()  
      boolean isTextPartialSupported()  
      void setPathParameters​(java.util.Map<java.lang.String,​java.lang.String> pathParameters)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • callBinary

        public void callBinary​(javax.websocket.RemoteEndpoint.Async endpoint,
                               java.lang.Object websocket,
                               java.nio.ByteBuffer buf,
                               boolean fin)
                        throws javax.websocket.DecodeException
        Throws:
        javax.websocket.DecodeException
      • callBinaryStream

        public void callBinaryStream​(javax.websocket.RemoteEndpoint.Async endpoint,
                                     java.lang.Object websocket,
                                     java.io.InputStream stream)
                              throws javax.websocket.DecodeException,
                                     java.io.IOException
        Throws:
        javax.websocket.DecodeException
        java.io.IOException
      • callClose

        public void callClose​(java.lang.Object websocket,
                              javax.websocket.CloseReason close)
      • callError

        public void callError​(java.lang.Object websocket,
                              java.lang.Throwable cause)
      • callOpen

        public void callOpen​(java.lang.Object websocket,
                             javax.websocket.EndpointConfig config)
      • callPong

        public void callPong​(javax.websocket.RemoteEndpoint.Async endpoint,
                             java.lang.Object websocket,
                             java.nio.ByteBuffer pong)
      • callText

        public void callText​(javax.websocket.RemoteEndpoint.Async endpoint,
                             java.lang.Object websocket,
                             java.lang.String text,
                             boolean fin)
                      throws javax.websocket.DecodeException
        Throws:
        javax.websocket.DecodeException
      • callTextStream

        public void callTextStream​(javax.websocket.RemoteEndpoint.Async endpoint,
                                   java.lang.Object websocket,
                                   java.io.Reader reader)
                            throws javax.websocket.DecodeException,
                                   java.io.IOException
        Throws:
        javax.websocket.DecodeException
        java.io.IOException
      • hasBinary

        public boolean hasBinary()
      • hasBinaryStream

        public boolean hasBinaryStream()
      • hasText

        public boolean hasText()
      • hasTextStream

        public boolean hasTextStream()
      • isBinaryPartialSupported

        public boolean isBinaryPartialSupported()
      • isTextPartialSupported

        public boolean isTextPartialSupported()
      • setPathParameters

        public void setPathParameters​(java.util.Map<java.lang.String,​java.lang.String> pathParameters)