Package com.realobjects.pdfreactor
Class Configuration.CustomUrlStreamHandler
java.lang.Object
com.realobjects.pdfreactor.Configuration.CustomUrlStreamHandler
- Enclosing class:
Configuration
A type containing a custom URLStreamHandler for a certain protocol.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetHandler
(URLStreamHandler value) The handler.setProtocol
(String value) The protocol, for example "http" or "https".
-
Constructor Details
-
CustomUrlStreamHandler
public CustomUrlStreamHandler()
-
-
Method Details
-
setProtocol
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.
- Returns:
- The current
Configuration.CustomUrlStreamHandler
instance.
-
setHandler
The handler.
- Returns:
- The current
Configuration.CustomUrlStreamHandler
instance.
-