Class JettyHttpHandlerAdapter
java.lang.Object
org.springframework.http.server.reactive.ServletHttpHandlerAdapter
org.springframework.http.server.reactive.JettyHttpHandlerAdapter
- All Implemented Interfaces:
Servlet
ServletHttpHandlerAdapter
extension that uses Jetty APIs for writing
to the response with ByteBuffer
.- Since:
- 5.0
- Author:
- Violeta Georgieva, Brian Clozel, Juergen Hoeller
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.server.reactive.ServletServerHttpResponse
createResponse
(HttpServletResponse response, AsyncContext context, org.springframework.http.server.reactive.ServletServerHttpRequest request) Methods inherited from class org.springframework.http.server.reactive.ServletHttpHandlerAdapter
createRequest, destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactory
-
Constructor Details
-
JettyHttpHandlerAdapter
-
-
Method Details
-
createResponse
protected org.springframework.http.server.reactive.ServletServerHttpResponse createResponse(HttpServletResponse response, AsyncContext context, org.springframework.http.server.reactive.ServletServerHttpRequest request) throws IOException - Overrides:
createResponse
in classServletHttpHandlerAdapter
- Throws:
IOException
-