Class Parser


  • public class Parser
    extends Object
    Parsing of a frames in WebSocket land.
    • Constructor Detail

      • Parser

        public Parser​(org.eclipse.jetty.websocket.api.WebSocketPolicy wspolicy,
                      org.eclipse.jetty.io.ByteBufferPool bufferPool)
    • Method Detail

      • configureFromExtensions

        public void configureFromExtensions​(List<? extends org.eclipse.jetty.websocket.api.extensions.Extension> exts)
      • getIncomingFramesHandler

        public org.eclipse.jetty.websocket.api.extensions.IncomingFrames getIncomingFramesHandler()
      • getPolicy

        public org.eclipse.jetty.websocket.api.WebSocketPolicy getPolicy()
      • isRsv1InUse

        public boolean isRsv1InUse()
      • isRsv2InUse

        public boolean isRsv2InUse()
      • isRsv3InUse

        public boolean isRsv3InUse()
      • notifyFrame

        protected void notifyFrame​(org.eclipse.jetty.websocket.api.extensions.Frame f)
                            throws org.eclipse.jetty.websocket.api.WebSocketException
        Throws:
        org.eclipse.jetty.websocket.api.WebSocketException
      • parse

        public void parse​(ByteBuffer buffer)
                   throws org.eclipse.jetty.websocket.api.WebSocketException
        Throws:
        org.eclipse.jetty.websocket.api.WebSocketException
      • setIncomingFramesHandler

        public void setIncomingFramesHandler​(org.eclipse.jetty.websocket.api.extensions.IncomingFrames incoming)