Package aQute.bnd.connection.settings
Class ConnectionSettings.SettingsURLConnectionHandler
java.lang.Object
aQute.bnd.connection.settings.ConnectionSettings.SettingsURLConnectionHandler
- All Implemented Interfaces:
URLConnectionHandler
- Enclosing class:
- ConnectionSettings
private static final class ConnectionSettings.SettingsURLConnectionHandler
extends Object
implements URLConnectionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final URLConnectionHandlerprivate final URLConnectionHandlerprivate final GlobFields inherited from interface aQute.bnd.service.url.URLConnectionHandler
MATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(URLConnection connection) If the corresponding URL matches, modify the connection in the parameterized way.private booleanisHttps(URLConnection connection) booleanAnswer if this handler matches the given URLtoString()
-
Field Details
-
match
-
handler
-
https
-
-
Constructor Details
-
SettingsURLConnectionHandler
-
-
Method Details
-
matches
Description copied from interface:URLConnectionHandlerAnswer if this handler matches the given URL- Specified by:
matchesin interfaceURLConnectionHandler- Parameters:
url- the url to match- Returns:
- true if matched, false if not.
-
handle
Description copied from interface:URLConnectionHandlerIf the corresponding URL matches, modify the connection in the parameterized way.- Specified by:
handlein interfaceURLConnectionHandler- Parameters:
connection- The connection to modify- Throws:
Exception
-
isHttps
-
toString
-