public interface WebConnection
extends java.lang.AutoCloseable
HttpUpgradeHandler
to interact with an upgraded
HTTP connection.Modifier and Type | Method and Description |
---|---|
ServletInputStream |
getInputStream()
Provides access to the
ServletInputStream for reading data from
the client. |
ServletOutputStream |
getOutputStream()
Provides access to the
ServletOutputStream for writing data to
the client. |
ServletInputStream getInputStream() throws java.io.IOException
ServletInputStream
for reading data from
the client.java.io.IOException
- If an I/O occurs while obtaining the streamServletOutputStream getOutputStream() throws java.io.IOException
ServletOutputStream
for writing data to
the client.java.io.IOException
- If an I/O occurs while obtaining the streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.