Interface IServiceInterfaceActionResponseSPI

    • Method Detail

      • setStatusInternal

        void setStatusInternal​(int statusCode,
                               java.lang.String message)
        Sets the status code and message for this action response. This is a temporary implementation that is used exclusively for requests with accept: application/json header. This code and message will be returned in the http response headers in this case. The final support for setting response status will be available in the future.
        Parameters:
        statusCode - the status code for the response
        message - the message
        Since:
        8.0.0