Class ExecuteDefaultPolicyWithInputResponse.Builder
java.lang.Object
com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
- Enclosing class:
- ExecuteDefaultPolicyWithInputResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentType
(String contentType) HTTP response content type for this operationrawResponse
(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingSuccess.Success.statusCode
(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
public ExecuteDefaultPolicyWithInputResponse.Builder rawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsing -
result
Success. Evaluating the default policy has the same response behavior as a successful policy evaluation, but with only the result as the response. -
headers
-
build
-