public static class RestManager.ManagedEndpoint extends BaseSolrResource implements GETable, PUTable, POSTable, DELETEable
BaseSolrResource.SolrOutputRepresentation
Modifier and Type | Field and Description |
---|---|
protected String |
childId |
protected ManagedResource |
managedResource |
SHOW_DEFAULTS, UPDATE_TIMEOUT_SECS
Constructor and Description |
---|
ManagedEndpoint() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDeprecatedWarning() |
org.restlet.representation.Representation |
delete() |
void |
doInit()
Initialize objects needed to handle a request to the REST API.
|
org.restlet.representation.Representation |
get() |
protected Object |
parseJsonFromRequestBody(org.restlet.representation.Representation entity)
Parses and validates the JSON passed from the to the ManagedResource.
|
org.restlet.representation.Representation |
post(org.restlet.representation.Representation entity) |
org.restlet.representation.Representation |
put(org.restlet.representation.Representation entity) |
static String |
resolveResourceId(org.restlet.Request restletReq)
Determines the ManagedResource resourceId from the Restlet request.
|
getContentType, getSchema, getSolrCore, getSolrRequest, getSolrResponse, getUpdateTimeoutSecs, handleException, handlePostExecution, urlDecode
abort, commit, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, 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, 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, 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
protected ManagedResource managedResource
protected String childId
public static String resolveResourceId(org.restlet.Request restletReq)
public void doInit() throws org.restlet.resource.ResourceException
doInit
in class BaseSolrResource
org.restlet.resource.ResourceException
public org.restlet.representation.Representation put(org.restlet.representation.Representation entity)
public org.restlet.representation.Representation post(org.restlet.representation.Representation entity)
public org.restlet.representation.Representation delete()
delete
in interface DELETEable
delete
in class org.restlet.resource.ServerResource
public org.restlet.representation.Representation get()
protected Object parseJsonFromRequestBody(org.restlet.representation.Representation entity)
protected void addDeprecatedWarning()
addDeprecatedWarning
in class BaseSolrResource
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.