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
URLConnectionHandlerhandle in interface URLConnectionHandlerconnection - The connection to modifyExceptionpublic boolean matches(URL url)
URLConnectionHandlermatches in interface URLConnectionHandlerurl - the url to matchCopyright © 2019 aQute SARL. All rights reserved.