public interface WebConnection
HttpUpgradeHandler
to interact with an upgraded
HTTP connection.Modifier and Type | Method and Description |
---|---|
void |
close()
The Servlet 3.1 interface extends AutoCloseable but that is not available
in Java 6 so this is the single method from that interface.
|
AbstractServletInputStream |
getInputStream()
Provides access to the
AbstractServletInputStream for reading
data from the client. |
AbstractServletOutputStream |
getOutputStream()
Provides access to the
AbstractServletOutputStream for writing
data to the client. |
AbstractServletInputStream getInputStream() throws java.io.IOException
AbstractServletInputStream
for reading
data from the client.java.io.IOException
AbstractServletOutputStream getOutputStream() throws java.io.IOException
AbstractServletOutputStream
for writing
data to the client.java.io.IOException
void close() throws java.lang.Exception
java.lang.Exception
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.