Interface ValidatedResponse
public interface ValidatedResponse
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()send(HttpServerResponse serverResponse) Add all parameters from the validated response to the passedHttpServerResponseand send it.
-
Method Details
-
getHeaders
Map<String, ResponseParameter> getHeaders()- Returns:
- the header parameters.
-
getBody
ResponseParameter getBody()- Returns:
- the body.
-
send
Add all parameters from the validated response to the passedHttpServerResponseand send it.- Parameters:
serverResponse- The related response- Returns:
- A succeeded Future when the response was sent successfully, otherwise a failed one.
-