Class TomcatWebSocketHandler

  • All Implemented Interfaces:
    org.apache.coyote.http11.upgrade.UpgradeInbound

    public class TomcatWebSocketHandler
    extends org.apache.catalina.websocket.StreamInbound
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getReadTimeout()  
      protected void onBinaryData​(java.io.InputStream is)  
      protected void onClose​(int closeCode)  
      protected void onOpen​(org.apache.catalina.websocket.WsOutbound outbound)  
      protected void onTextData​(java.io.Reader r)  
      protected void onTextMessage​(java.nio.CharBuffer message)  
      • Methods inherited from class org.apache.catalina.websocket.StreamInbound

        getOutboundByteBufferSize, getOutboundCharBufferSize, getWsOutbound, onData, onPong, onUpgradeComplete, setOutboundByteBufferSize, setOutboundCharBufferSize, setUpgradeOutbound, setUpgradeProcessor
      • Methods inherited from class java.lang.Object

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

      • onOpen

        protected void onOpen​(org.apache.catalina.websocket.WsOutbound outbound)
        Overrides:
        onOpen in class org.apache.catalina.websocket.StreamInbound
      • onClose

        protected void onClose​(int closeCode)
        Overrides:
        onClose in class org.apache.catalina.websocket.StreamInbound
      • onTextMessage

        protected void onTextMessage​(java.nio.CharBuffer message)
      • onBinaryData

        protected final void onBinaryData​(java.io.InputStream is)
        Specified by:
        onBinaryData in class org.apache.catalina.websocket.StreamInbound
      • onTextData

        protected final void onTextData​(java.io.Reader r)
                                 throws java.io.IOException
        Specified by:
        onTextData in class org.apache.catalina.websocket.StreamInbound
        Throws:
        java.io.IOException
      • getReadTimeout

        public int getReadTimeout()
        Specified by:
        getReadTimeout in interface org.apache.coyote.http11.upgrade.UpgradeInbound
        Overrides:
        getReadTimeout in class org.apache.catalina.websocket.StreamInbound