public class WebConnectionImpl extends Object implements WebConnection
| Constructor and Description |
|---|
WebConnectionImpl(StreamConnection channel,
ByteBufferPool bufferPool,
Executor ioExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ServletInputStream |
getInputStream()
Returns an input stream for this web connection.
|
ServletOutputStream |
getOutputStream()
Returns an output stream for this web connection.
|
public WebConnectionImpl(StreamConnection channel, ByteBufferPool bufferPool, Executor ioExecutor)
public ServletInputStream getInputStream() throws IOException
WebConnectiongetInputStream in interface WebConnectionIOException - if an I/O error occurspublic ServletOutputStream getOutputStream() throws IOException
WebConnectiongetOutputStream in interface WebConnectionIOException - if an I/O error occurspublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.