Package org.eclipse.jetty.io
Interface Connection.UpgradeFrom
-
- All Known Implementing Classes:
HttpConnection
,HttpConnectionOverHTTP
- Enclosing interface:
- Connection
public static interface Connection.UpgradeFrom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.ByteBuffer
onUpgradeFrom()
Takes the input buffer from the connection on upgrade.
-
-
-
Method Detail
-
onUpgradeFrom
java.nio.ByteBuffer onUpgradeFrom()
Takes the input buffer from the connection on upgrade.
This method is used to take any unconsumed input from a connection during an upgrade.
- Returns:
- A buffer of unconsumed input. The caller must return the buffer to the bufferpool when consumed and this connection must not.
-
-