public class RedirectManager
extends java.lang.Object
| Constructor and Description |
|---|
RedirectManager(org.openrdf.sail.SailConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
existsRedirectTo(java.lang.String documentUri)
Finds whether any URI has already been dereferenced which redirects to the given document URI
|
void |
persistRedirect(java.lang.String thingUri,
java.lang.String documentUri)
Persistently stores the fact that the given thing URI has been found to redirect to the given document URI
|
public RedirectManager(org.openrdf.sail.SailConnection connection)
public boolean existsRedirectTo(java.lang.String documentUri)
throws org.openrdf.sail.SailException
documentUri - the URI of a possible Linked Data documentorg.openrdf.sail.SailExceptionpublic void persistRedirect(java.lang.String thingUri,
java.lang.String documentUri)
throws org.openrdf.sail.SailException
thingUri - the URI of a non-information resourcedocumentUri - the URI to which the original URI has been redirectedorg.openrdf.sail.SailExceptionCopyright © 2007-2016. All Rights Reserved.