public abstract class ContentNegotiationServiceAbstract extends Object implements ContentNegotiationService
| Constructor and Description |
|---|
ContentNegotiationServiceAbstract() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
org.apache.isis.core.metamodel.interactions.managed.ManagedAction objectAndAction) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
org.apache.isis.core.metamodel.interactions.managed.ManagedCollection objectAndCollection) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
org.apache.isis.core.metamodel.spec.ManagedObject objectAdapter) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
org.apache.isis.core.metamodel.interactions.managed.ManagedProperty objectAndProperty) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
ObjectAndActionInvocation objectAndActionInvocation) |
protected void |
ensureDomainObjectAssignable(String xRoDomainType,
Class<?> domainType,
Object domainObject) |
protected void |
ensureJaxbAnnotated(Class<?> domainType) |
protected Class<?> |
loadClass(String cls) |
protected List<String> |
mediaTypeParameterList(List<javax.ws.rs.core.MediaType> acceptableMediaTypes,
String parameter) |
protected boolean |
mediaTypeParameterMatches(List<javax.ws.rs.core.MediaType> acceptableMediaTypes,
String parameter,
String parameterValue) |
protected Object |
objectOf(org.apache.isis.core.metamodel.spec.ManagedObject objectAdapter)
Potential hook to allow a domain object to be mapped.
|
protected Object |
returnedObjectOf(ObjectAndActionInvocation objectAndActionInvocation) |
public ContentNegotiationServiceAbstract()
public javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, org.apache.isis.core.metamodel.spec.ManagedObject objectAdapter)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, org.apache.isis.core.metamodel.interactions.managed.ManagedProperty objectAndProperty)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, org.apache.isis.core.metamodel.interactions.managed.ManagedCollection objectAndCollection)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, org.apache.isis.core.metamodel.interactions.managed.ManagedAction objectAndAction)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, ObjectAndActionInvocation objectAndActionInvocation)
buildResponse in interface ContentNegotiationServiceprotected Object objectOf(org.apache.isis.core.metamodel.spec.ManagedObject objectAdapter)
protected Object returnedObjectOf(ObjectAndActionInvocation objectAndActionInvocation)
protected void ensureJaxbAnnotated(Class<?> domainType)
protected void ensureDomainObjectAssignable(String xRoDomainType, Class<?> domainType, Object domainObject)
protected boolean mediaTypeParameterMatches(List<javax.ws.rs.core.MediaType> acceptableMediaTypes, String parameter, String parameterValue)
protected List<String> mediaTypeParameterList(List<javax.ws.rs.core.MediaType> acceptableMediaTypes, String parameter)
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.