public class MultiURLConnectionHandler extends Object implements URLConnectionHandler
MATCH
Constructor and Description |
---|
MultiURLConnectionHandler(Registry registry) |
Modifier and Type | Method and Description |
---|---|
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
|
public MultiURLConnectionHandler(Registry registry)
public void handle(URLConnection connection) throws Exception
URLConnectionHandler
handle
in interface URLConnectionHandler
connection
- The connection to modifyException
public boolean matches(URL url)
URLConnectionHandler
matches
in interface URLConnectionHandler
url
- the url to matchCopyright © 2015 aQute SARL. All rights reserved.