public class LoginMarshaller extends Object implements JsonMarshaller<LoginInfo>
| Constructor and Description |
|---|
LoginMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<LoginInfo> |
getJavaType()
The marshalled java type
|
String |
getReference(LoginInfo info) |
String |
getType()
The type name that appears in serialization
|
LoginInfo |
read(com.fasterxml.jackson.core.JsonParser jp)
Builds and returns a POJO from the JSON object
|
protected Set<String> |
readGroups(com.fasterxml.jackson.core.JsonParser jp) |
void |
write(com.fasterxml.jackson.core.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public LoginMarshaller()
public String getType()
JsonMarshallergetType in interface JsonMarshaller<LoginInfo>public Class<LoginInfo> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<LoginInfo>public String getReference(LoginInfo info)
public LoginInfo read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
JsonMarshallerread in interface JsonMarshaller<LoginInfo>IOExceptionprotected Set<String> readGroups(com.fasterxml.jackson.core.JsonParser jp) throws IOException
IOExceptionpublic void write(com.fasterxml.jackson.core.JsonGenerator jg, Object value) throws IOException
JsonMarshallerwrite in interface JsonMarshaller<LoginInfo>IOExceptionCopyright © 2019 Nuxeo. All rights reserved.