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 IOException
AbstractServletInputStream
for reading
data from the client.IOException
AbstractServletOutputStream getOutputStream() throws IOException
AbstractServletOutputStream
for writing
data to the client.IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.