An entity that is mapped to a REST end point
Modifiers | Name | Description |
---|---|---|
protected com.damnhandy.uri.template.UriTemplate |
URI |
|
protected java.util.Map<java.lang.String, com.damnhandy.uri.template.UriTemplate> |
associationEndPoints |
|
protected java.nio.charset.Charset |
charset |
|
protected RestEndpointPersistentEntity.RestEndpointClassMapping |
classMapping |
|
protected MediaType |
contentType |
|
protected RequestInterceptor[] |
interceptors |
|
protected Endpoint |
mappedForm |
Constructor and description |
---|
RestEndpointPersistentEntity
(java.lang.Class javaClass, MappingContext context) |
Type Params | Return Type | Name and description |
---|---|---|
|
com.damnhandy.uri.template.UriTemplate |
getAssociationTemplate(java.lang.String associationName) Obtain a UriTemplate for the given association |
|
java.nio.charset.Charset |
getCharset() @return The charset to use |
|
MediaType |
getContentType() @return The content type of this endpoint |
|
ClassMapping<Endpoint> |
getMapping() |
|
RequestInterceptor[] |
getRequestInterceptors() @return Any configured request interceptors |
|
com.damnhandy.uri.template.UriTemplate |
getUriTemplate() @return The URI template for this endpoint |
|
void |
initialize() |
Methods inherited from class | Name |
---|---|
class AbstractPersistentEntity |
isRoot, hasProperty, getVersion, getJavaClass, isInitialized, isExternal, getParentEntity, getPropertyByName, getReflector, isMultiTenant, getCompositeIdentity, getTenantId, getMappingStrategy, setExternal, isIdentityName, getDiscriminator, getRootEntity, isOwningEntity, getDecapitalizedName, getPersistentPropertyNames, getIdentity, isVersioned, getPersistentProperties, getAssociations, getEmbedded, addOwner, getMappingContext, getMapping, equals, toString, hashCode, isInstance, getName, newInstance, isAbstract, initialize, wait, wait, wait, getClass, notify, notifyAll |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtain a UriTemplate for the given association
associationName
- The name of the association