Interface IPromptConnectionConfig_ApiUrl

  • All Known Implementing Classes:
    GenericOaiConnectionConfig

    public interface IPromptConnectionConfig_ApiUrl
    Mixin for a prompt query configuration model that allows the user to configure the API URL, i.e. the URL of the prompt service provider.

    Use of this mixin is optional, but ensures a consistent name for the property. When different prompt service handlers use the same property name, switching between different prompt service handlers preserves the configured data.

    See also the <xp:apiUrl/> Faces component from the http://www.xima.de/taglib/xfc/prompt namespace, which provides a user interface for editing the data defined by this mixin.

    Since:
    8.5.0
    • Field Detail

      • ATTR_API_URL

        static final String ATTR_API_URL
        The name of the API URL attribute. If you implement a custom serialization / deserialization, use this name for the attribute to increase compatibility with other prompt service handlers.
        See Also:
        Constant Field Values
    • Method Detail

      • getApiUrl

        String getApiUrl()
        Gets the API URL, i.e. the URL of the prompt service provider.
        Returns:
        The API URL.
      • setApiUrl

        void setApiUrl​(String apiUrl)
        Sets the API URL, i.e. the URL of the prompt service provider.
        Parameters:
        apiUrl - The API URL to set.