org.eel.kitchen.jsonschema.uri
Class HTTPURIHandler
java.lang.Object
org.eel.kitchen.jsonschema.uri.HTTPURIHandler
- All Implemented Interfaces:
- URIHandler
public final class HTTPURIHandler
- extends Object
- implements URIHandler
Basic handler for the http URI scheme
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPURIHandler
public HTTPURIHandler()
getDocument
public JsonNode getDocument(URI uri)
throws IOException
- Description copied from interface:
URIHandler
- Get the JSON document located at a given URI
- Specified by:
getDocument in interface URIHandler
- Parameters:
uri - the URI
- Returns:
- the document at this URI
- Throws:
IOException - the document could not be downloaded
Copyright © 2012. All Rights Reserved.