Package org.eclipse.jetty.fcgi.server
Class ServerFCGIConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.fcgi.server.ServerFCGIConnection
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Connection
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.jetty.io.ConnectionConnection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
- 
Constructor SummaryConstructorsConstructorDescriptionServerFCGIConnection(Connector connector, EndPoint endPoint, HttpConfiguration configuration, boolean sendStatus200) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanvoidCallback method invoked when the endpoint is ready to be read.voidonOpen()Callback method invoked when this connection is opened.protected booleanonReadTimeout(Throwable timeout) Callback method invoked when the endpoint failed to be ready to be read after a timeoutvoidsetUseInputDirectByteBuffers(boolean useInputDirectByteBuffers) voidsetUseOutputDirectByteBuffers(boolean useOutputDirectByteBuffers) Methods inherited from class org.eclipse.jetty.io.AbstractConnectionaddEventListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested
- 
Constructor Details- 
ServerFCGIConnectionpublic ServerFCGIConnection(Connector connector, EndPoint endPoint, HttpConfiguration configuration, boolean sendStatus200) 
 
- 
- 
Method Details- 
isUseInputDirectByteBufferspublic boolean isUseInputDirectByteBuffers()
- 
setUseInputDirectByteBufferspublic void setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers) 
- 
isUseOutputDirectByteBufferspublic boolean isUseOutputDirectByteBuffers()
- 
setUseOutputDirectByteBufferspublic void setUseOutputDirectByteBuffers(boolean useOutputDirectByteBuffers) 
- 
onOpenpublic void onOpen()Description copied from interface:ConnectionCallback method invoked when this connection is opened. Creators of the connection implementation are responsible for calling this method. - Specified by:
- onOpenin interface- Connection
- Overrides:
- onOpenin class- AbstractConnection
 
- 
onFillablepublic void onFillable()Description copied from class:AbstractConnectionCallback method invoked when the endpoint is ready to be read. - Specified by:
- onFillablein class- AbstractConnection
- See Also:
 
- 
onReadTimeoutDescription copied from class:AbstractConnectionCallback method invoked when the endpoint failed to be ready to be read after a timeout - Overrides:
- onReadTimeoutin class- AbstractConnection
- Parameters:
- timeout- the cause of the read timeout
- Returns:
- true to signal that the endpoint must be closed, false to keep the endpoint open
 
 
-