public class AbstractOntopiaResource
extends org.restlet.resource.ServerResource
| Constructor and Description |
|---|
AbstractOntopiaResource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMixInAnnotations(Class<?> target,
Class<?> mixin) |
protected void |
addResponseHeader(String name,
String value) |
protected void |
blockMimeType(org.restlet.data.MediaType... types)
Blocks the use of specified mime types for this resource, as it is known that the converter for that mime type
cannot produce the representation for the Resource's target class.
|
protected void |
doError(org.restlet.data.Status status) |
protected void |
doInit() |
protected <C extends AbstractController> |
getController(Class<C> controllerClass) |
protected int |
getIntegerFromQuery(String name,
int fallback) |
protected Map<Class<?>,Class<?>> |
getMixInAnnotationsMap() |
protected OntopiaRestApplication |
getOntopia() |
protected TopicMapReferenceIF |
getTopicMapReference() |
protected void |
setInfoHeaders() |
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getDescription, getInfo, getInfo, getName, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, patch, patch, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDescription, setDimensions, setExisting, setLocationRef, setLocationRef, setName, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensionsdoError, 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, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toRepresentation, toShort, toStringprotected void doInit()
throws org.restlet.resource.ResourceException
doInit in class org.restlet.resource.Resourceorg.restlet.resource.ResourceExceptionprotected OntopiaRestApplication getOntopia()
protected TopicMapReferenceIF getTopicMapReference()
protected void setInfoHeaders()
protected void blockMimeType(org.restlet.data.MediaType... types)
types - The mime types to blockprotected int getIntegerFromQuery(String name, int fallback)
protected <C extends AbstractController> C getController(Class<C> controllerClass)
protected void doError(org.restlet.data.Status status)
doError in class org.restlet.resource.ServerResource