Interface GenericResponse
- All Superinterfaces:
BaseResponse,HttpBaseResponse
- All Known Subinterfaces:
HttpResponse,MessageResponse,Response,TcpResponse
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Set the reason message.status(int statusCode) Deprecated, for removal: This API element is subject to removal in a future version.Set the status code of the http response.Methods inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpBaseResponse
ended, headers, isStatus1xx, isStatus2xx, isStatus3xx, isStatus4xx, isStatus5xx, reason, status, trailers
-
Method Details
-
status
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpBaseResponseSet the status code of the http response.- Specified by:
statusin interfaceHttpBaseResponse- Parameters:
statusCode- the status code to set.- Returns:
- a self-reference.
-
reason
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:HttpBaseResponseSet the reason message.- Specified by:
reasonin interfaceHttpBaseResponse- Parameters:
message- the message to set as a reason.- Returns:
- a self-reference.
-
HttpBaseResponse