Package io.undertow.servlet.core
Class ServletBlockingHttpExchange
- java.lang.Object
-
- io.undertow.servlet.core.ServletBlockingHttpExchange
-
- All Implemented Interfaces:
BlockingHttpExchange,Closeable,AutoCloseable
public class ServletBlockingHttpExchange extends Object implements BlockingHttpExchange
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ServletBlockingHttpExchange(HttpServerExchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()InputStreamgetInputStream()OutputStreamgetOutputStream()ReceivergetReceiver()SendergetSender()
-
-
-
Constructor Detail
-
ServletBlockingHttpExchange
public ServletBlockingHttpExchange(HttpServerExchange exchange)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin interfaceBlockingHttpExchange
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStreamin interfaceBlockingHttpExchange
-
getSender
public Sender getSender()
- Specified by:
getSenderin interfaceBlockingHttpExchange
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBlockingHttpExchange- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getReceiver
public Receiver getReceiver()
- Specified by:
getReceiverin interfaceBlockingHttpExchange
-
-