Package com.styra.opa.openapi.utils
Interface Response
- All Known Implementing Classes:
CompileQueryWithPartialEvaluationResponse
,ExecuteBatchPolicyWithInputResponse
,ExecuteDefaultPolicyWithInputResponse
,ExecutePolicyResponse
,ExecutePolicyWithInputResponse
,HealthResponse
public interface Response
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the Content-Type header.Returns the raw response.int
Returns the HTTP status code.
-
Method Details
-
contentType
String contentType()Returns the value of the Content-Type header. -
statusCode
int statusCode()Returns the HTTP status code. -
rawResponse
HttpResponse<InputStream> rawResponse()Returns the raw response.
-