private static final class ConnectionSettings.SettingsURLConnectionHandler extends java.lang.Object implements URLConnectionHandler
| Modifier and Type | Field and Description |
|---|---|
private URLConnectionHandler |
handler |
private URLConnectionHandler |
https |
private Glob |
match |
MATCH| Constructor and Description |
|---|
SettingsURLConnectionHandler(ServerDTO serverDTO,
Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.net.URLConnection connection)
If the corresponding URL matches, modify the connection in the
parameterized way.
|
private boolean |
isHttps(java.net.URLConnection connection) |
boolean |
matches(java.net.URL url)
Answer if this handler matches the given URL
|
java.lang.String |
toString() |
private final Glob match
private final URLConnectionHandler handler
private final URLConnectionHandler https
public boolean matches(java.net.URL url)
URLConnectionHandlermatches in interface URLConnectionHandlerurl - the url to matchpublic void handle(java.net.URLConnection connection)
throws java.lang.Exception
URLConnectionHandlerhandle in interface URLConnectionHandlerconnection - The connection to modifyjava.lang.Exceptionprivate boolean isHttps(java.net.URLConnection connection)
public java.lang.String toString()
toString in class java.lang.Object