|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.resource.Resource
org.restlet.resource.UniformResource
org.restlet.resource.ServerResource
net.fortytwo.sesametools.ldserver.WebResource
public class WebResource
Information and non-information resources are distinguished by the suffix of the resource's URI: 1) information resource URIs end in .rdf or .trig 2) non-information resources have no such suffix (and TwitLogic will not make statements about such URIs)
A request for an information resource is fulfilled with the resource itself. No content negotiation occurs. A request for a non-information resource is fulfilled with a 303-redirect to an information resource of the appropriate media type.
| Field Summary | |
|---|---|
protected org.openrdf.sail.Sail |
sail
|
protected String |
selfURI
|
protected net.fortytwo.sesametools.ldserver.WebResource.WebResourceCategory |
webResourceCategory
|
| Constructor Summary | |
|---|---|
WebResource()
|
|
| Method Summary | |
|---|---|
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
| Methods inherited from class org.restlet.resource.ServerResource |
|---|
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions |
| Methods inherited from class org.restlet.resource.Resource |
|---|
doError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String selfURI
protected net.fortytwo.sesametools.ldserver.WebResource.WebResourceCategory webResourceCategory
protected org.openrdf.sail.Sail sail
| Constructor Detail |
|---|
public WebResource()
throws Exception
Exception| Method Detail |
|---|
@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
get in class org.restlet.resource.ServerResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||