Method Summary |
|
public static Resource | decodeContext(String encodedValue, ValueFactory valueFactory) Decode a previously encoded context Resource. |
public static Resource[] | decodeContexts(String[] encodedValues, ValueFactory valueFactory) Decode previously encoded contexts. |
public static Resource | decodeResource(String encodedValue, ValueFactory valueFactory) Decode a previously encoded Resource. |
public static URI | decodeURI(String encodedValue, ValueFactory valueFactory) Decode a previously encoded URI. |
public static Value | decodeValue(String encodedValue, ValueFactory valueFactory) Decode a previously encoded value. |
public static String | encodeContext(Resource context) Encodes a context resource for use in a URL.
Parameters: value - The resource to encode, possibly null. |
public static String[] | encodeContexts(Resource... contexts) Encode context resources for use in a URL.
Parameters: contexts - the contexts to encode, must not be null. |
public static String | encodeValue(Value value) Encodes a value for use in a URL.
Parameters: value - The value to encode, possibly null. |
final public static String | getConfigLocation(String serverLocation) Get the location of the server configuration resource on the specified
server.
Parameters: serverLocation - the base location of a server implementing this REST protocol. |
final public static String | getContextsLocation(String repositoryLocation) Get the location of the contexts lists resource for a specific repository.
Parameters: repositoryLocation - the location of a repository implementing this REST protocol. |
final public static String | getNamespacePrefixLocation(String repositoryLocation, String prefix) Get the location of the namespace with the specified prefix for a specific
repository on the specified server. |
final public static String | getNamespacesLocation(String repositoryLocation) Get the location of the namespaces lists resource for a specific
repository on the specified server. |
final public static String | getProtocolLocation(String serverLocation) Get the location of the protocol resource on the specified server.
Parameters: serverLocation - the base location of a server implementing this REST protocol. |
final public static String | getRepositoriesLocation(String serverLocation) Get the location of the repository list resource on the specified server.
Parameters: serverLocation - the base location of a server implementing this REST protocol. |
final public static String | getRepositoryLocation(String serverLocation, String repositoryID) Get the location of a specific repository resource on the specified
server. |
final public static String | getSizeLocation(String repositoryLocation) Get the location of the 'size' resource for a specific repository on the
specified server. |
final public static String | getStatementsLocation(String repositoryLocation) Get the location of the statements resource for a specific repository.
Parameters: repositoryLocation - the location of a repositor implementing this REST protocol. |