|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface URLConnectionHandler
This interface is used to sign urls, set options, etc. Anybody that interacts
with a URL should allow all the 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.
| Field Summary | |
|---|---|
static String |
MATCH
Configuration property for the matcher. |
| Method Summary | |
|---|---|
void |
handle(URLConnection connection)
If the corresponding URL matches, modify the connection in the parameterized way. |
boolean |
matches(URL url)
Answer if this handler matches the given URL |
| Field Detail |
|---|
static final String MATCH
Glob expressions. If no match is given, all URLs match.
| Method Detail |
|---|
void handle(URLConnection connection)
throws Exception
connection - The connection to modify
Exceptionboolean matches(URL url)
url - the url to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||