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 "*" (asterisk), 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 2023-09-21. Copyright © 2002-2023 RealObjects GmbH. All Rights Reserved.