Package org.vaadin.spring.http
Interface HttpService
- All Known Implementing Classes:
VaadinHttpService
public interface HttpService
Interface that provides access to the
HttpServletRequest and HttpServletResponse.- Author:
- Marko Radinovic (markoradinovic79@gmail.com), Gert-Jan Timmer (gjr.timmer@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequestReturns the current HTTP servlet request, ornullif there is no active request.jakarta.servlet.http.HttpServletResponseReturns the current HTTP servlet response, ornullif there is no active response.
-
Method Details
-
getCurrentRequest
jakarta.servlet.http.HttpServletRequest getCurrentRequest()Returns the current HTTP servlet request, ornullif there is no active request. -
getCurrentResponse
jakarta.servlet.http.HttpServletResponse getCurrentResponse()Returns the current HTTP servlet response, ornullif there is no active response.
-