Class ApplicationConfigUrlConverterWebservice


  • public class ApplicationConfigUrlConverterWebservice
    extends Object
    Defines a set of options specific for the \"URL Converter\" web service.
    • Constructor Detail

      • ApplicationConfigUrlConverterWebservice

        public ApplicationConfigUrlConverterWebservice()
    • Method Detail

      • getEnabled

        @Nullable
        public @Nullable Boolean getEnabled()
        If enabled, then the web service is activated.
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getInstances

        @Nullable
        public @Nullable Integer getInstances()
        Number of parallel instances (threads) for the web service. Defines the number of requests that can be executed in parallel before requests are queued. minimum: 1
        Returns:
        instances
      • setInstances

        public void setInstances​(Integer instances)
      • getMaxLatency

        @Nullable
        public @Nullable Integer getMaxLatency()
        Maximum time in seconds allowed for the execution of a web service before the request is aborted. When time is expired the execution is aborted. minimum: 0
        Returns:
        maxLatency
      • setMaxLatency

        public void setMaxLatency​(Integer maxLatency)
      • getQueueSize

        @Nullable
        public @Nullable Integer getQueueSize()
        Maximum number of waiting requests, before new requests are rejected. If there are more requests than free instances, they are placed in the queue. If this maximum value is reached, further requests are rejected directly.
        Returns:
        queueSize
      • setQueueSize

        public void setQueueSize​(Integer queueSize)
      • getTimeout

        @Nullable
        public @Nullable Integer getTimeout()
        Sets a timeout in seconds, that shall be used for the HTTP request to get the URL.
        Returns:
        timeout
      • setTimeout

        public void setTimeout​(Integer timeout)
      • getUserAgent

        @Nullable
        public @Nullable String getUserAgent()
        Sets the text for the user agent to send to the destination server from which the URL is to be retrieved.
        Returns:
        userAgent
      • setUserAgent

        public void setUserAgent​(String userAgent)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object