org.opentox.resource
Class OTResource

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by org.opentox.resource.OTResource
Direct Known Subclasses:
Algorithm, IndexResource, ListAlgorithms, ListModels, ListTasks, ModelInfoResource, ModelResource, ShutDownResource, TaskResource, TestResource

public class OTResource
extends org.restlet.resource.ServerResource

Every Resource of the package extends this class.

Version:
1.3.3 (Last update: Dec 20, 2009)
Author:
OpenTox - http://www.opentox.org/, Sopasakis Pantelis, Sarimveis Harry

Nested Class Summary
static class OTResource.Directories
          Directories on the server.
static class OTResource.URIs
          URIs of the available services.
 
Field Summary
protected static java.lang.String htmlEND
          End of HTML files
protected  java.lang.String htmlHEAD
          Head of HTML files
static java.lang.String PMMLIntro
          Head of PMML files
private static long serialVersionUID
          version unique serial number.
static java.lang.String xmlIntro
          The first line of every XML file.
 
Constructor Summary
OTResource()
           
 
Method Summary
 
Methods inherited from class org.restlet.resource.ServerResource
delete, delete, describeVariants, doConditionalHandle, doGetInfo, doHandle, doHandle, doNegotiatedHandle, get, get, getInfo, getInfo, getPreferredVariant, getVariants, getVariants, handle, head, head, isAnnotated, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setChallengeRequest, setChallengeRequests, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setServerInfo, setStatus, setStatus, setStatus, setStatus, setVariants, updateAllowedMethods, updateDimensions
 
Methods inherited from class org.restlet.resource.UniformResource
doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, init, isConfidential, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
version unique serial number.

See Also:
Constant Field Values

xmlIntro

public static final java.lang.String xmlIntro
The first line of every XML file.

See Also:
Constant Field Values

htmlHEAD

protected java.lang.String htmlHEAD
Head of HTML files


htmlEND

protected static final java.lang.String htmlEND
End of HTML files

See Also:
Constant Field Values

PMMLIntro

public static final java.lang.String PMMLIntro
Head of PMML files

See Also:
Constant Field Values
Constructor Detail

OTResource

public OTResource()