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.spec.ManagedObject objectAdapter) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
ObjectAndAction objectAndAction) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
ObjectAndActionInvocation objectAndActionInvocation) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
ObjectAndCollection objectAndCollection) |
javax.ws.rs.core.Response.ResponseBuilder |
buildResponse(IResourceContext renderContext2,
ObjectAndProperty objectAndProperty) |
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, ObjectAndProperty objectAndProperty)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, ObjectAndCollection objectAndCollection)
buildResponse in interface ContentNegotiationServicepublic javax.ws.rs.core.Response.ResponseBuilder buildResponse(IResourceContext renderContext2, ObjectAndAction 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.