Interface SlackApiRequest

    • Method Detail

      • getToken

        String getToken()
        Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.
        Returns:
        token string value or null
      • setToken

        default void setToken​(String token)
        Updates the token in this request object.

        The default implementation throws UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.

        Throws:
        UnsupportedOperationException - is always thrown if this method is not overridden