org.apache.coyote.http11.upgrade
Interface UpgradeInbound
- All Known Implementing Classes:
- MessageInbound, StreamInbound
public interface UpgradeInbound
Receives notification that there is data to be read on the upgraded
connection and processes it.
setUpgradeProcessor
void setUpgradeProcessor(UpgradeProcessor<?> processor)
onUpgradeComplete
void onUpgradeComplete()
onData
AbstractEndpoint.Handler.SocketState onData()
throws IOException
- Throws:
IOException
setUpgradeOutbound
void setUpgradeOutbound(UpgradeOutbound upgradeOutbound)
getReadTimeout
int getReadTimeout()
- Allow the upgraded protocol to define the read timeout to be used with
the upgraded connection.
- Returns:
- The read timeout in milliseconds or -1 for infinite
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.