|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.UniformResource
org.restlet.resource.ServerResource
org.qi4j.library.rest.EntityResource
public class EntityResource
Constructor Summary | |
---|---|
EntityResource()
|
Method Summary | |
---|---|
protected org.restlet.representation.Representation |
delete()
|
protected void |
doInit()
|
protected org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
org.restlet.representation.Representation |
post(org.restlet.representation.Representation entityRepresentation,
org.restlet.representation.Variant variant)
|
protected org.restlet.representation.Representation |
put(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
|
static String |
toString(Object newValue,
ValueType valueType)
|
static Object |
toValue(String stringValue,
QualifiedName propertyName,
TypeName propertyType)
|
Methods inherited from class org.restlet.resource.ServerResource |
---|
abort, commit, delete, describeVariants, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, handle, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityResource()
Method Detail |
---|
public static Object toValue(String stringValue, QualifiedName propertyName, TypeName propertyType) throws IllegalArgumentException
IllegalArgumentException
public static String toString(Object newValue, ValueType valueType) throws IllegalArgumentException, JSONException
IllegalArgumentException
JSONException
protected void doInit() throws org.restlet.resource.ResourceException
doInit
in class org.restlet.resource.UniformResource
org.restlet.resource.ResourceException
protected org.restlet.representation.Representation delete() throws org.restlet.resource.ResourceException
delete
in class org.restlet.resource.ServerResource
org.restlet.resource.ResourceException
protected org.restlet.representation.Representation get(org.restlet.representation.Variant variant) throws org.restlet.resource.ResourceException
get
in class org.restlet.resource.ServerResource
org.restlet.resource.ResourceException
protected org.restlet.representation.Representation put(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant) throws org.restlet.resource.ResourceException
put
in class org.restlet.resource.ServerResource
org.restlet.resource.ResourceException
public org.restlet.representation.Representation post(org.restlet.representation.Representation entityRepresentation, org.restlet.representation.Variant variant) throws org.restlet.resource.ResourceException
post
in class org.restlet.resource.ServerResource
org.restlet.resource.ResourceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |