|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.automation.client.jaxrs.spi.marshallers.ExceptionMarshaller
public class ExceptionMarshaller
Constructor Summary | |
---|---|
ExceptionMarshaller()
|
Method Summary | |
---|---|
static RemoteException |
_read(org.codehaus.jackson.JsonParser jp)
|
Class<RemoteException> |
getJavaType()
The marshalled java type |
String |
getType()
The type name that appears in serialization |
RemoteException |
read(org.codehaus.jackson.JsonParser jp)
Builds and returns a POJO from the JSON object |
static RemoteException |
readException(String content)
|
void |
write(org.codehaus.jackson.JsonGenerator jg,
RemoteException value)
Writes the POJO object to the JsonGenerator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionMarshaller()
Method Detail |
---|
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<RemoteException>
public Class<RemoteException> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<RemoteException>
public static RemoteException readException(String content) throws Exception
Exception
public RemoteException read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshaller
read
in interface JsonMarshaller<RemoteException>
Exception
public static RemoteException _read(org.codehaus.jackson.JsonParser jp) throws Exception
Exception
public void write(org.codehaus.jackson.JsonGenerator jg, RemoteException value) throws Exception
JsonMarshaller
write
in interface JsonMarshaller<RemoteException>
Exception
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |