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, UTF8| Constructor and Description |
|---|
RestManager.ManagedEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
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, handleException, handlePostExecution, urlDecodeabort, commit, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, 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, 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, toObject, toRepresentation, toStringprotected ManagedResource managedResource
protected String childId
public static String resolveResourceId(org.restlet.Request restletReq)
public void doInit()
throws org.restlet.resource.ResourceException
doInit in class BaseSolrResourceorg.restlet.resource.ResourceExceptionpublic 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 DELETEabledelete in class org.restlet.resource.ServerResourcepublic org.restlet.representation.Representation get()
protected Object parseJsonFromRequestBody(org.restlet.representation.Representation entity)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.