java.lang.AutoCloseable
, javax.servlet.http.WebConnection
public class WebConnectionImpl
extends java.lang.Object
implements javax.servlet.http.WebConnection
Constructor | Description |
---|---|
WebConnectionImpl(org.xnio.StreamConnection channel,
io.undertow.connector.ByteBufferPool bufferPool,
java.util.concurrent.Executor ioExecutor) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
javax.servlet.ServletInputStream |
getInputStream() |
|
javax.servlet.ServletOutputStream |
getOutputStream() |
public WebConnectionImpl(org.xnio.StreamConnection channel, io.undertow.connector.ByteBufferPool bufferPool, java.util.concurrent.Executor ioExecutor)
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.servlet.http.WebConnection
java.io.IOException
public javax.servlet.ServletOutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface javax.servlet.http.WebConnection
java.io.IOException
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
Copyright © 2018. All rights reserved.