Class TomcatHttpHandlerAdapter
java.lang.Object
org.springframework.http.server.reactive.ServletHttpHandlerAdapter
org.springframework.http.server.reactive.TomcatHttpHandlerAdapter
- All Implemented Interfaces:
Servlet
ServletHttpHandlerAdapter
extension that uses Tomcat APIs for reading
from the request and writing to the response with ByteBuffer
.- Since:
- 5.0
- Author:
- Violeta Georgieva, Brian Clozel, Sam Brannen, Juergen Hoeller
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.server.reactive.ServletServerHttpRequest
createRequest
(HttpServletRequest request, AsyncContext asyncContext) protected org.springframework.http.server.reactive.ServletServerHttpResponse
createResponse
(HttpServletResponse response, AsyncContext asyncContext, 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
-
TomcatHttpHandlerAdapter
-
-
Method Details
-
createRequest
protected org.springframework.http.server.reactive.ServletServerHttpRequest createRequest(HttpServletRequest request, AsyncContext asyncContext) throws IOException, URISyntaxException - Overrides:
createRequest
in classServletHttpHandlerAdapter
- Throws:
IOException
URISyntaxException
-
createResponse
protected org.springframework.http.server.reactive.ServletServerHttpResponse createResponse(HttpServletResponse response, AsyncContext asyncContext, org.springframework.http.server.reactive.ServletServerHttpRequest request) throws IOException - Overrides:
createResponse
in classServletHttpHandlerAdapter
- Throws:
IOException
-