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
WebConnection
getInputStream
in interface WebConnection
IOException
- if an I/O error occurspublic ServletOutputStream getOutputStream() throws IOException
WebConnection
getOutputStream
in interface WebConnection
IOException
- if an I/O error occurspublic void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.