|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Server
Interface for server operations. A server's task is to get static information from a store, add dynamic things like Expire and Query tags, and return a complete XRDS.
| Method Summary | |
|---|---|
XRDS |
lookupByNamespace(java.lang.String namespace,
java.lang.String query,
boolean signed)
Obtains an XRDS for an XRI segment. |
XRDS |
lookupByPath(java.lang.String path,
boolean signed)
Obtains an XRDS for a path. |
XRDS |
lookupSelfDescribing(java.lang.String namespace,
boolean signed)
Obtains a self-describing XRDS for a root namespace. |
| Methods inherited from interface org.openxri.config.Component |
|---|
getProperties, init |
| Method Detail |
|---|
XRDS lookupSelfDescribing(java.lang.String namespace,
boolean signed)
throws ServerException
namespace - The root namespace.signed - Whether or not a signed descriptor is requested.
ServerException
XRDS lookupByNamespace(java.lang.String namespace,
java.lang.String query,
boolean signed)
throws ServerException
namespace - The root namespace of the segment.query - The segment to resolve.signed - Whether or not a signed descriptor is requested.
ServerException
XRDS lookupByPath(java.lang.String path,
boolean signed)
throws ServerException
path - The HTTP path of the request.signed - Whether or not a signed descriptor is requested.
ServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||