Class HealthResponse.Builder
java.lang.Object
com.styra.opa.openapi.models.operations.HealthResponse.Builder
- Enclosing class:
- HealthResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentType
(String contentType) HTTP response content type for this operationhealthyServer
(HealthyServer healthyServer) OPA service is healthy.healthyServer
(Optional<? extends HealthyServer> healthyServer) OPA service is healthy.rawResponse
(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingstatusCode
(int statusCode) HTTP response status code for this operation
-
Method Details
-
contentType
HTTP response content type for this operation -
statusCode
HTTP response status code for this operation -
rawResponse
Raw HTTP response; suitable for custom response parsing -
healthyServer
OPA service is healthy. If the bundles option is specified then all configured bundles have been activated. If the plugins option is specified then all plugins are in an OK state. -
build
-