Package | Description |
---|---|
org.nuxeo.ecm.core.io.registry | |
org.nuxeo.ecm.core.io.registry.context | |
org.nuxeo.ecm.core.io.registry.reflect | |
org.nuxeo.ecm.webengine.jaxrs.coreiodelegate |
Modifier and Type | Method and Description |
---|---|
<T> Collection<Marshaller<T>> |
MarshallerRegistryImpl.getAllMarshallers(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype,
Set<MarshallerInspector> customs,
Set<MarshallerInspector> wildcards) |
<T> Collection<Reader<T>> |
MarshallerRegistryImpl.getAllReaders(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Collection<Reader<T>> |
MarshallerRegistry.getAllReaders(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides all
Reader instance that manage marshalling of a mimetype in a Java Type. |
<T> Collection<Writer<T>> |
MarshallerRegistryImpl.getAllWriters(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Collection<Writer<T>> |
MarshallerRegistry.getAllWriters(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides all
Writer instance that manage marshalling of the given Java Type and mimetype. |
<T> T |
MarshallerRegistryImpl.getInstance(RenderingContext ctx,
Class<T> marshallerClass) |
<T> T |
MarshallerRegistry.getInstance(RenderingContext ctx,
Class<T> marshallerClass)
Provides an instance of a given marshaller class.
|
<T> Marshaller<T> |
MarshallerRegistryImpl.getMarshaller(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype,
Set<MarshallerInspector> customs,
Set<MarshallerInspector> wildcards,
boolean forceInstantiation) |
<T> Reader<T> |
MarshallerRegistryImpl.getReader(RenderingContext ctx,
Class<T> marshalledClazz,
javax.ws.rs.core.MediaType mediatype) |
<T> Reader<T> |
MarshallerRegistry.getReader(RenderingContext ctx,
Class<T> marshalledClazz,
javax.ws.rs.core.MediaType mediatype)
|
<T> Reader<T> |
MarshallerRegistryImpl.getReader(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Reader<T> |
MarshallerRegistry.getReader(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides a
Reader instance to manage marshalling of a mimetype in a Java Type. |
<T> T |
MarshallerRegistryImpl.getUniqueInstance(RenderingContext ctx,
Class<T> marshallerClass) |
<T> T |
MarshallerRegistry.getUniqueInstance(RenderingContext ctx,
Class<T> marshallerClass)
Provides an instance of the given marshaller class.
|
<T> Reader<T> |
MarshallerRegistryImpl.getUniqueReader(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Reader<T> |
MarshallerRegistry.getUniqueReader(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides a
Reader instance to manage marshalling of a mimetype in a Java Type. |
<T> Writer<T> |
MarshallerRegistryImpl.getUniqueWriter(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Writer<T> |
MarshallerRegistry.getUniqueWriter(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides a
Writer instance to manage marshalling of the given Java Type and mimetype. |
<T> Writer<T> |
MarshallerRegistryImpl.getWriter(RenderingContext ctx,
Class<T> marshalledClazz,
javax.ws.rs.core.MediaType mediatype) |
<T> Writer<T> |
MarshallerRegistry.getWriter(RenderingContext ctx,
Class<T> marshalledClazz,
javax.ws.rs.core.MediaType mediatype)
|
<T> Writer<T> |
MarshallerRegistryImpl.getWriter(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype) |
<T> Writer<T> |
MarshallerRegistry.getWriter(RenderingContext ctx,
Class<T> marshalledClazz,
Type genericType,
javax.ws.rs.core.MediaType mediatype)
Provides a
Writer instance to manage marshalling of the given Java Type and mimetype. |
static <T> String |
MarshallerHelper.listToJson(Class<T> elementType,
List<T> list,
RenderingContext ctx)
Convert the given list to json.
|
static <T> List<T> |
MarshallerHelper.listToJson(Class<T> elementType,
String json,
RenderingContext ctx)
Read an object of the given type from given json.
|
static <T> T |
MarshallerHelper.objectToJson(Class<T> type,
String json,
RenderingContext ctx)
Read an object of the given type from given json.
|
static <T> T |
MarshallerHelper.objectToJson(Class<T> type,
Type genericType,
String json,
RenderingContext ctx)
Read an object of the given type from given json.
|
static <T> String |
MarshallerHelper.objectToJson(T object,
RenderingContext ctx)
Convert the given object to json.
|
static <T> String |
MarshallerHelper.objectToJson(Type genericType,
T object,
RenderingContext ctx)
Convert the given object to json.
|
Modifier and Type | Class and Description |
---|---|
class |
RenderingContextImpl
A thread-safe
RenderingContext implementation. |
class |
ThreadSafeRenderingContext
|
Modifier and Type | Method and Description |
---|---|
RenderingContext |
RenderingContextImpl.RenderingContextBuilder.get() |
static RenderingContext |
RenderingContext.CtxBuilder.get() |
RenderingContext |
ThreadSafeRenderingContext.getDelegate()
Get the underlying
RenderingContext . |
Modifier and Type | Method and Description |
---|---|
void |
ThreadSafeRenderingContext.configureThread(RenderingContext delegates)
Configure this
RenderingContext to use the given RenderingContext in the current thread. |
Modifier and Type | Method and Description |
---|---|
<T> T |
MarshallerInspector.getInstance(RenderingContext ctx)
Create an instance of this marshaller.
|
Object |
MarshallerInspector.getNewInstance(RenderingContext ctx,
boolean threadSafe)
Create a new instance of the marshaller.
|
Modifier and Type | Method and Description |
---|---|
static RenderingContext |
RenderingContextWebUtils.getContext(javax.servlet.ServletRequest request)
Get the current context in the current
HttpServletRequest or create it from the current
HttpServletRequest . |
Modifier and Type | Method and Description |
---|---|
static void |
DocumentModelJsonReaderLegacy.pushInstanceIfNeeded(RenderingContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders) |
Copyright © 2015 Nuxeo SA. All rights reserved.