Class JsonSerializerJsonLite
java.lang.Object
cz.metacentrum.perun.rpc.serializer.JsonSerializerJsonLite
- All Implemented Interfaces:
- Serializer
JSON lite serializer which strips auditing data from Perun beans.
- Author:
- Pavel Zlámal invalid input: '<'zlamal@cesnet.cz>, Michal Voců invalid input: '<'vocu@cesnet.cz>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidSerializesPerunException.voidSerializesPerunRuntimeException.
- 
Field Details- 
CONTENT_TYPE- See Also:
 
 
- 
- 
Constructor Details- 
JsonSerializerJsonLite- Parameters:
- out-- OutputStreamto output serialized data
- Throws:
- IOException- if an IO error occurs
 
 
- 
- 
Method Details- 
getContentType- Specified by:
- getContentTypein interface- Serializer
- Returns:
- Content-type of this serializer's output format and its encoding.
 
- 
write- Specified by:
- writein interface- Serializer
- Throws:
- IOException
 
- 
writePerunExceptionDescription copied from interface:SerializerSerializesPerunException.- Specified by:
- writePerunExceptionin interface- Serializer
- Parameters:
- pex-- PerunExceptionto serialize
- Throws:
- IOException- If an IO error occurs
 
- 
writePerunRuntimeExceptionDescription copied from interface:SerializerSerializesPerunRuntimeException.- Specified by:
- writePerunRuntimeExceptionin interface- Serializer
- Parameters:
- prex-- PerunRuntimeExceptionto serialize
- Throws:
- IOException- If an IO error occurs
 
 
-