Class ReadState


  • class ReadState
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  ReadState.Action  
      private static class  ReadState.State  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.ByteBuffer buffer  
      private static org.eclipse.jetty.util.log.Logger LOG  
      private ReadState.State state  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadState()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void discard()  
      (package private) void eof()  
      (package private) ReadState.Action getAction​(java.nio.ByteBuffer buffer)  
      (package private) java.nio.ByteBuffer getBuffer()  
      (package private) boolean isReading()  
      (package private) boolean isSuspended()  
      (package private) java.nio.ByteBuffer resume()  
      (package private) void suspending()
      Requests that reads from the connection be suspended.
      java.lang.String toString()  
      private java.lang.String toString​(ReadState.State state)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LOG

        private static final org.eclipse.jetty.util.log.Logger LOG
      • buffer

        private java.nio.ByteBuffer buffer
    • Constructor Detail

      • ReadState

        ReadState()
    • Method Detail

      • getBuffer

        java.nio.ByteBuffer getBuffer()
      • isReading

        boolean isReading()
      • isSuspended

        boolean isSuspended()
      • suspending

        void suspending()
        Requests that reads from the connection be suspended.
      • resume

        java.nio.ByteBuffer resume()
        Returns:
        a ByteBuffer to finish processing, or null if we should register fillInterested If return value is BufferUtil.EMPTY_BUFFER no action should be taken.
      • eof

        void eof()
      • discard

        void discard()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object