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.WebConnection
IOException
- if an I/O error occurspublic javax.servlet.ServletOutputStream getOutputStream() throws IOException
getOutputStream
in interface javax.servlet.http.WebConnection
IOException
- if an I/O error occurspublic void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2014 Oracle Corporation. All rights reserved.