- All Superinterfaces:
java.lang.AutoCloseable
public interface WebConnection
extends java.lang.AutoCloseable
The WebConnection API.
-
Method Summary
Modifier and Type Method Description ServletInputStream
getInputStream()
Get the input stream.ServletOutputStream
getOutputStream()
Get the output stream.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getInputStream
Get the input stream.- Returns:
- the input stream.
- Throws:
java.io.IOException
- when an I/O error occurs.
-
getOutputStream
Get the output stream.- Returns:
- the output stream.
- Throws:
java.io.IOException
- when an I/O error occurs.
-