AutoCloseable
public interface WebConnection extends AutoCloseable
Modifier and Type | Method | Description |
---|---|---|
ServletInputStream |
getInputStream() |
Get the input stream.
|
ServletOutputStream |
getOutputStream() |
Get the output stream.
|
close
ServletInputStream getInputStream() throws IOException
IOException
- when an I/O error occurs.ServletOutputStream getOutputStream() throws IOException
IOException
- when an I/O error occurs.Copyright © 2020 Piranha Cloud. All rights reserved.