public class WebConnectionImpl extends Object implements javax.servlet.http.WebConnection
| Constructor and Description |
|---|
WebConnectionImpl(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.
|
void |
setRequest(Request req) |
void |
setResponse(Response res) |
public WebConnectionImpl(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 AutoCloseableExceptionpublic void setRequest(Request req)
public void setResponse(Response res)
Copyright © 2017. All rights reserved.