Package org.bridgedb.server
Class IDMapperResource
- java.lang.Object
-
- org.restlet.resource.UniformResource
-
- org.restlet.resource.ServerResource
-
- org.bridgedb.server.IDMapperResource
-
- Direct Known Subclasses:
Attributes,AttributeSearch,AttributeSet,BackPageText,Batch,FreeSearch,IsFreeSearchSupported,IsMappingSupported,NoMatch,Properties,SupportedSourceDataSources,SupportedTargetDataSources,XrefExists,Xrefs
public class IDMapperResource extends org.restlet.resource.ServerResourceBase resource implementation that provides methods shared between the idmapper resources (such as access to the IDMapper objects).
-
-
Constructor Summary
Constructors Constructor Description IDMapperResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInit()protected IDMapperStackgetIDMappers()protected DataSourceparseDataSource(String dsName)protected StringurlDecode(String string)Decode the parameter from the url to remove %20 etc.-
Methods inherited from class org.restlet.resource.ServerResource
abort, commit, delete, delete, describeVariants, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, get, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
-
Methods inherited from class org.restlet.resource.UniformResource
doCatch, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, release, setRequest, setResponse, toObject, toRepresentation
-
-
-
-
Method Detail
-
parseDataSource
protected DataSource parseDataSource(String dsName)
-
doInit
protected void doInit() throws org.restlet.resource.ResourceException- Overrides:
doInitin classorg.restlet.resource.UniformResource- Throws:
org.restlet.resource.ResourceException
-
urlDecode
protected String urlDecode(String string) throws UnsupportedEncodingException
Decode the parameter from the url to remove %20 etc.- Throws:
UnsupportedEncodingException
-
getIDMappers
protected IDMapperStack getIDMappers()
-
-