public class WebConnectionImpl extends Object implements javax.servlet.http.WebConnection
| Constructor and Description |
|---|
WebConnectionImpl(HttpServletRequestImpl request,
javax.servlet.ServletInputStream inputStream,
javax.servlet.ServletOutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.servlet.ServletInputStream |
getInputStream()
Returns an input stream for this web connection.
|
javax.servlet.ServletOutputStream |
getOutputStream()
Returns an output stream for this web connection.
|
public WebConnectionImpl(HttpServletRequestImpl request, javax.servlet.ServletInputStream inputStream, javax.servlet.ServletOutputStream outputStream)
public javax.servlet.ServletInputStream getInputStream()
throws IOException
getInputStream in interface javax.servlet.http.WebConnectionIOException - if an I/O error occurspublic javax.servlet.ServletOutputStream getOutputStream()
throws IOException
getOutputStream in interface javax.servlet.http.WebConnectionIOException - if an I/O error occurspublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2018 Oracle Corporation. All Rights Reserved.