Interface ProxyConfigurationRegistry

All Known Implementing Classes:
ProxyConfigurationRegistryImpl

public interface ProxyConfigurationRegistry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Signals that no proxy should be used.
  • Method Summary

    Modifier and Type
    Method
    Description
    If the given name is not empty, returns the named proxy configuration if it exists and throws an exception if it doesn't exist.
  • Field Details

    • NONE

      static final String NONE
      Signals that no proxy should be used. No proxy configuration may use this name.
      See Also:
  • Method Details

    • get

      If the given name is not empty, returns the named proxy configuration if it exists and throws an exception if it doesn't exist. If the given name is the special value none, returns a special result where the host and port are none:0, type is HTTP and other methods return an empty result.

      If the given name is empty, returns the default proxy configuration if it exists and returns an empty result if it doesn't exist.

      Parameters:
      name - the name
      Returns:
      the configuration, may be empty
      Throws:
      IllegalStateException - if the named configuration does not exist