public class HTTPSRemoteFileRegistry extends HTTPRemoteFileRegistry
HTTPRemoteFileRegistry.HTTPRemoteFileRegistryHandler
instance, port, server
Modifier and Type | Method and Description |
---|---|
static HTTPRemoteFileRegistry |
getInstance()
Get the unique instance.
|
protected String |
getProtocol()
Get the protocol used for this registry, that is 'https'.
|
protected URLConnection |
openConnection(URL url)
Open a connection to an URL in this registry.
|
protected void |
startServer()
Start the server, including a handler that responds with registered files, removes registered files on request,
and gives 404 otherwise.
|
cleanup, registerFile
public static HTTPRemoteFileRegistry getInstance()
protected String getProtocol()
getProtocol
in class HTTPRemoteFileRegistry
protected void startServer()
startServer
in class HTTPRemoteFileRegistry
protected URLConnection openConnection(URL url) throws IOException
openConnection
in class HTTPRemoteFileRegistry
url
- The URL to open connection to.IOException
- If unable to open connection to the URLIOFailure
- If the connection is not a secure connectionCopyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.