Package io.micronaut.servlet.http
Interface ServletExchange<Req,Res>
- Type Parameters:
Req
- The native request typeRes
- The native response type
- All Known Implementing Classes:
ApacheServletHttpRequest
,DefaultServletExchange
,DefaultServletHttpRequest
,PojaHttpRequest
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
-