Class ExecutePolicyWithInputResponse
java.lang.Object
com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExecutePolicyWithInputResponse
(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Map<String, List<String>> headers) ExecutePolicyWithInputResponse
(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse, Map<String, List<String>> headers) -
Method Summary
Modifier and TypeMethodDescriptionstatic final ExecutePolicyWithInputResponse.Builder
builder()
HTTP response content type for this operationboolean
int
hashCode()
headers()
Raw HTTP response; suitable for custom response parsingint
HTTP response status code for this operationSuccess.toString()
withContentType
(String contentType) HTTP response content type for this operationwithHeaders
(Map<String, List<String>> headers) withRawResponse
(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode
(int statusCode) HTTP response status code for this operationwithSuccessfulPolicyResponse
(SuccessfulPolicyResponse successfulPolicyResponse) Success.withSuccessfulPolicyResponse
(Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse) Success.
-
Constructor Details
-
ExecutePolicyWithInputResponse
public ExecutePolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse, Map<String, List<String>> headers) -
ExecutePolicyWithInputResponse
public ExecutePolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Map<String, List<String>> headers)
-
-
Method Details
-
contentType
HTTP response content type for this operation- Specified by:
contentType
in interfaceResponse
-
statusCode
public int statusCode()HTTP response status code for this operation- Specified by:
statusCode
in interfaceResponse
-
rawResponse
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponse
in interfaceResponse
-
successfulPolicyResponse
Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property. -
headers
-
builder
-
withContentType
HTTP response content type for this operation -
withStatusCode
HTTP response status code for this operation -
withRawResponse
Raw HTTP response; suitable for custom response parsing -
withSuccessfulPolicyResponse
public ExecutePolicyWithInputResponse withSuccessfulPolicyResponse(Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse) Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property. -
withHeaders
-
equals
-
hashCode
public int hashCode() -
toString
-