Class AuSetAttributes


  • public class AuSetAttributes
    extends AuResponse
    A response to set successive attributes of the specified component at the client.

    data[0]: the uuid of the component
    data[1]: the array of attribute name and attribute value

    Since:
    9.0.1
    Author:
    rudyhuang
    See Also:
    AuSetAttribute
    • Constructor Detail

      • AuSetAttributes

        public AuSetAttributes​(Component comp,
                               AuSetAttribute... attrs)
        Construct an instance for miscellaneous values, such as Boolean, Integer and so on.
    • Method Detail

      • getEncodedData

        public java.util.List<java.lang.Object> getEncodedData()
        Description copied from class: AuResponse
        Returns the evaluated result of the associated data of this response (might be null).

        Note: when this method is called, DeferredValue will be evaluated. Thus, don't call it until the rendering phase. If you want to access it other than the render phase, use AuResponse.getRawData() instead.

        Note: it is a copy, so any modification to it won't affect the data of this response.

        Overrides:
        getEncodedData in class AuResponse
        See Also:
        AuResponse.getRawData()