Package io.quarkus.proxy
Interface ProxyConfigurationRegistry
- All Known Implementing Classes:
ProxyConfigurationRegistryImpl
public interface ProxyConfigurationRegistry
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionIf the givennameis not empty, returns the named proxy configuration if it exists and throws an exception if it doesn't exist.
-
Field Details
-
NONE
Signals that no proxy should be used. No proxy configuration may use this name.- See Also:
-
-
Method Details
-
get
If the givennameis not empty, returns the named proxy configuration if it exists and throws an exception if it doesn't exist. If the givennameis the special valuenone, returns a special result where the host and port arenone:0, type isHTTPand other methods return an empty result.If the given
nameis 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
-