public class WebConnectionImpl extends Object implements javax.servlet.http.WebConnection
Constructor and Description |
---|
WebConnectionImpl(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
Executor ioExecutor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.servlet.ServletInputStream |
getInputStream() |
javax.servlet.ServletOutputStream |
getOutputStream() |
public WebConnectionImpl(org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> bufferPool, Executor ioExecutor)
public javax.servlet.ServletInputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.http.WebConnection
IOException
public javax.servlet.ServletOutputStream getOutputStream() throws IOException
getOutputStream
in interface javax.servlet.http.WebConnection
IOException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2014 JBoss by Red Hat. All rights reserved.