public static class Configuration.CustomUrlStreamHandler extends Object
A type containing a custom URLStreamHandler for a certain protocol.
Constructor and Description |
---|
CustomUrlStreamHandler() |
CustomUrlStreamHandler(String protocol,
URLStreamHandler handler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.CustomUrlStreamHandler |
setHandler(URLStreamHandler value)
The handler.
|
Configuration.CustomUrlStreamHandler |
setProtocol(String value)
The protocol, for example "http" or "https".
|
public CustomUrlStreamHandler()
@Deprecated public CustomUrlStreamHandler(String protocol, URLStreamHandler handler)
public Configuration.CustomUrlStreamHandler setProtocol(String value)
The protocol, for example "http" or "https". If the protocol is "" (empty string), the handler will be used for URLs with any protocol if no handler with a matching explicit protocol is found.
Configuration.CustomUrlStreamHandler
instance.public Configuration.CustomUrlStreamHandler setHandler(URLStreamHandler value)
The handler.
Configuration.CustomUrlStreamHandler
instance.This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.