URLConnectionHandlerpublic class MultiURLConnectionHandler extends java.lang.Object implements URLConnectionHandler
MATCH| Constructor | Description |
|---|---|
MultiURLConnectionHandler(Registry registry) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handle(java.net.URLConnection connection) |
If the corresponding URL matches, modify the connection in the
parameterized way.
|
boolean |
matches(java.net.URL url) |
Answer if this handler matches the given URL
|
public MultiURLConnectionHandler(Registry registry)
public void handle(java.net.URLConnection connection)
throws java.lang.Exception
URLConnectionHandlerhandle in interface URLConnectionHandlerconnection - The connection to modifyjava.lang.Exceptionpublic boolean matches(java.net.URL url)
URLConnectionHandlermatches in interface URLConnectionHandlerurl - the url to match