public interface WebConnection extends 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.
|
close
ServletInputStream getInputStream() throws IOException
IOException
- if an I/O error occursServletOutputStream getOutputStream() throws IOException
IOException
- if an I/O error occursCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.