com.googlecode.fascinator.harvester.oaipmh.http
Class Handler
java.lang.Object
java.net.URLStreamHandler
com.googlecode.fascinator.harvester.oaipmh.http.Handler
public class Handler
- extends URLStreamHandler
Handler for HTTP URLs to support the Retry-After header when a 503 status
code is received. Uses the Commons HttpClient library to do the actual HTTP
request.
- Author:
- Oliver Lucido
| Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
openConnection
public URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection in class URLStreamHandler
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.