Class OperationResponseProxy

    • Method Detail

      • getResponseNode

        public org.jboss.dmr.ModelNode getResponseNode()
        Description copied from interface: OperationResponse
        Gets the DMR response to the operation.
        Specified by:
        getResponseNode in interface OperationResponse
        Returns:
        the response. Will not be null
      • getInputStreams

        public List<OperationResponse.StreamEntry> getInputStreams()
        Description copied from interface: OperationResponse
        Gets any streams that were associated with the operation response. Streams will be in the order in which they were attached, but callers should exercise caution when making assumptions about that order if the operation executes across multiple servers in a managed domain. Aspects of domain execution often occur concurrently so streams may not be associated with the response in the order in which steps are listed in a multistep operation.

        Specified by:
        getInputStreams in interface OperationResponse
        Returns:
        the streams. Will not be null but may be empty
      • getInputStream

        public OperationResponse.StreamEntry getInputStream​(String uuid)
        Description copied from interface: OperationResponse
        Gets a stream associated with the response that has the given uuid.

        Server side operation step handlers that associate a stream with a response should provide the stream's uuid as the step's result value in the DMR response.

        Specified by:
        getInputStream in interface OperationResponse
        Parameters:
        uuid - the uuid. Cannot be null
        Returns:
        the stream entry, or null if no entry with the given uuid is associated