Package io.undertow.httpcore
Class DefaultBlockingHttpExchange
java.lang.Object
io.undertow.httpcore.DefaultBlockingHttpExchange
- All Implemented Interfaces:
BlockingHttpExchange,Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes both the input and output streamsReturns the input stream that is in use for this exchange.Returns the output stream that is in use for this exchange.
-
Constructor Details
-
DefaultBlockingHttpExchange
-
-
Method Details
-
getInputStream
Description copied from interface:BlockingHttpExchangeReturns the input stream that is in use for this exchange.- Specified by:
getInputStreamin interfaceBlockingHttpExchange- Returns:
- The input stream
-
getOutputStream
Description copied from interface:BlockingHttpExchangeReturns the output stream that is in use for this exchange.In some circumstances this may not be available, such as if a writer is being used for a servlet response
- Specified by:
getOutputStreamin interfaceBlockingHttpExchange- Returns:
- The output stream
-
close
Description copied from interface:BlockingHttpExchangeCloses both the input and output streams- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBlockingHttpExchange- Specified by:
closein interfaceCloseable- Throws:
IOException
-