Class OperationWorkerResponse

    • Constructor Detail

      • OperationWorkerResponse

        public OperationWorkerResponse()
    • Method Detail

      • statusCode

        public HttpStatusCode statusCode()
        Get the statusCode property: HTTP Status Code of the operation.
        Returns:
        the statusCode value.
      • withStatusCode

        public OperationWorkerResponse withStatusCode​(HttpStatusCode statusCode)
        Set the statusCode property: HTTP Status Code of the operation.
        Parameters:
        statusCode - the statusCode value to set.
        Returns:
        the OperationWorkerResponse object itself.
      • headers

        public Map<String,​List<String>> headers()
        Get the headers property: HTTP headers associated with this operation.
        Returns:
        the headers value.
      • withHeaders

        public OperationWorkerResponse withHeaders​(Map<String,​List<String>> headers)
        Set the headers property: HTTP headers associated with this operation.
        Parameters:
        headers - the headers value to set.
        Returns:
        the OperationWorkerResponse object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.