|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.SerializationContext
public class SerializationContext
A simple context to get settings from an endpoint to a deserializer or serializer.
| Field Summary | |
|---|---|
boolean |
createASObjectForMissingType
Determines whether an ASObject is created by default for a type that is missing on the server, instead of throwing a server resource not found exception. |
boolean |
enableSmallMessages
Provides a way to control whether small messages should be sent even if the client can support them. |
boolean |
ignorePropertyErrors
|
boolean |
instantiateTypes
Determines whether type information will be used to instantiate a new instance. |
boolean |
legacyBigNumbers
|
boolean |
legacyCollection
|
boolean |
legacyExternalizable
|
boolean |
legacyMap
|
boolean |
legacyThrowable
|
boolean |
legacyXMLDocument
|
boolean |
legacyXMLNamespaces
|
boolean |
logPropertyErrors
|
boolean |
restoreReferences
|
boolean |
supportDatesByReference
|
boolean |
supportRemoteClass
|
| Constructor Summary | |
|---|---|
SerializationContext()
|
|
| Method Summary | |
|---|---|
static void |
clearThreadLocalObjects()
Clears out the thread local state after the request completes. |
Object |
clone()
|
Class |
getDeserializerClass()
|
static SerializationContext |
getSerializationContext()
|
Class |
getSerializerClass()
|
MessageDeserializer |
newMessageDeserializer()
|
MessageSerializer |
newMessageSerializer()
|
void |
setDeserializerClass(Class c)
|
static void |
setSerializationContext(SerializationContext context)
Establishes a SerializationContext for the current thread. |
void |
setSerializerClass(Class c)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean legacyXMLDocument
public boolean legacyXMLNamespaces
public boolean legacyCollection
public boolean legacyMap
public boolean legacyThrowable
public boolean legacyBigNumbers
public boolean legacyExternalizable
public boolean restoreReferences
public boolean supportRemoteClass
public boolean supportDatesByReference
public boolean createASObjectForMissingType
public boolean enableSmallMessages
public boolean instantiateTypes
public boolean ignorePropertyErrors
public boolean logPropertyErrors
| Constructor Detail |
|---|
public SerializationContext()
| Method Detail |
|---|
public Class getDeserializerClass()
public void setDeserializerClass(Class c)
public Class getSerializerClass()
public void setSerializerClass(Class c)
public MessageDeserializer newMessageDeserializer()
public MessageSerializer newMessageSerializer()
public Object clone()
clone in class Objectpublic static void setSerializationContext(SerializationContext context)
context - The current SerializationContext.public static SerializationContext getSerializationContext()
public static void clearThreadLocalObjects()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/SerializationContext.html