public interface URLConnectionHandler
URLConnectionHandler plugins to
interact with the URLConnection. There are a number of known implementations:
BndAuthentication — Authenticates using bnd's built in private
key (see Settings
BasicAuthentication — Http Basic Authentication
HttpsVerification — Can add certificats for verification of Https
or disable verification
ConnectionSettings — Can set arbitrary headers on an Http(s)
connection
MATCH is a comma separated list of Glob
expressions that must match the canonical URL string representation.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MATCH
Configuration property for the matcher.
|
static final java.lang.String MATCH
Glob expressions. If no match is given, all URLs match.void handle(java.net.URLConnection connection)
throws java.lang.Exception
connection - The connection to modifyjava.lang.Exceptionboolean matches(java.net.URL url)
url - the url to match