public class WebConnectionImpl
extends java.lang.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 java.io.IOException
getInputStream in interface javax.servlet.http.WebConnectionjava.io.IOException - if an I/O error occurspublic javax.servlet.ServletOutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface javax.servlet.http.WebConnectionjava.io.IOException - if an I/O error occurspublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.ExceptionCopyright © 2014 Oracle Corporation. All Rights Reserved.