Package io.micronaut.servlet.http
Interface ServletExchange<Req,Res>
- Type Parameters:
Req
- The native request typeRes
- The native response type
- All Known Implementing Classes:
DefaultServletExchange
,DefaultServletHttpRequest
public interface ServletExchange<Req,Res>
Represents an HTTP exchange in a serverless context.
- Since:
- 2.0.0
- Author:
- graemerocher
-
Method Summary
-
Method Details
-
getRequest
ServletHttpRequest<Req,? super Object> getRequest()- Returns:
- The request object
-
getResponse
ServletHttpResponse<Res,?> getResponse()- Returns:
- The response object
-