public class BaseCitationResource extends AbstractResource
Modifier and Type | Field and Description |
---|---|
private DoiCrossCiteApplication |
app
Cross cite application.
|
static String |
DOI_PARAMETER
Parameter providing the digital object identifier
"doi".
|
static String |
LANG_PARAMETER
Language parameter to format the citation "lang".
|
protected org.apache.logging.log4j.Logger |
LOG
Logger.
|
static String |
STYLE_PARAMETER
Style parameter to format the citation "style".
|
Constructor and Description |
---|
BaseCitationResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInit()
Init.
|
DoiCrossCiteApplication |
getApp()
Returns CrossCiteApplication.
|
protected org.restlet.ext.wadl.RepresentationInfo |
listRepresentation(String title,
org.restlet.data.MediaType media,
String content)
List representation.
|
addRequestDocToMethod, addRequestDocToMethod, addRequestDocToMethod, addResponseDocToMethod, createQueryParamDoc, createQueryRepresentationDoc, createResponseDoc, createResponseDoc, createResponseDoc, htmlRepresentation, isObjectExist, isObjectNotExist, isValueExist, isValueNotExist, stringRepresentation
canDescribe, createHtmlRepresentation, createWadlRepresentation, describe, describe, describe, describe, describe, describe, describe, describe, describeDelete, describeGet, describeMethod, describeMethod, describeOptions, describeParameters, describePatch, describePost, describePut, getDescription, getName, getParameter, getParameters, getPreferredWadlVariant, getResourcePath, getResourcesBase, getWadlVariants, isAutoDescribing, options, setAutoDescribing, setDescription, setName
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, patch, patch, 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
doError, 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, toString
public static final String DOI_PARAMETER
public static final String LANG_PARAMETER
public static final String STYLE_PARAMETER
protected volatile org.apache.logging.log4j.Logger LOG
private volatile DoiCrossCiteApplication app
protected void doInit() throws org.restlet.resource.ResourceException
doInit
in class AbstractResource
org.restlet.resource.ResourceException
- - if a problem happensprotected org.restlet.ext.wadl.RepresentationInfo listRepresentation(String title, org.restlet.data.MediaType media, String content)
title
- Title of the representationmedia
- Media type of the responsecontent
- Explanation of the representationpublic DoiCrossCiteApplication getApp()
Copyright © 2017–2020 CNES. All rights reserved.