public interface WebConnection
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
ServletInputStream |
getInputStream()
Returns an input stream for this web connection.
|
ServletOutputStream |
getOutputStream()
Returns an output stream for this web connection.
|
ServletInputStream getInputStream() throws java.io.IOException
java.io.IOException
- if an I/O error occursServletOutputStream getOutputStream() throws java.io.IOException
java.io.IOException
- if an I/O error occurs