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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.server.reactive.ServletServerHttpRequest
createRequest
(HttpServletRequest request, AsyncContext context) protected 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
destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactory
-
Constructor Details
-
JettyHttpHandlerAdapter
-
-
Method Details
-
createRequest
protected org.springframework.http.server.reactive.ServletServerHttpRequest createRequest(HttpServletRequest request, AsyncContext context) throws IOException, URISyntaxException - Overrides:
createRequest
in classServletHttpHandlerAdapter
- Throws:
IOException
URISyntaxException
-
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
-