Package com.microsoft.kiota.store
Class BackingStoreSerializationWriterProxyFactory
java.lang.Object
com.microsoft.kiota.serialization.SerializationWriterProxyFactory
com.microsoft.kiota.store.BackingStoreSerializationWriterProxyFactory
- All Implemented Interfaces:
SerializationWriterFactory
Proxy implementation of SerializationWriterFactory for the backing store that automatically sets the state of the backing store when serializing.
-
Field Summary
Fields inherited from class com.microsoft.kiota.serialization.SerializationWriterProxyFactory
proxiedFactory -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the BackingStoreSerializationWriterProxyFactory class given a concrete implementation of SerializationWriterFactory. -
Method Summary
Modifier and TypeMethodDescriptiongetSerializationWriter(String contentType, boolean serializeOnlyChangedValues) Returns a SerializationWriter that overrides the default serialization of only changed values if serializeOnlyChangedValues="true" Gets the previously proxied serialization writer without any backing store configuration to prevent overwriting the registry affecting future serialization requestsMethods inherited from class com.microsoft.kiota.serialization.SerializationWriterProxyFactory
getSerializationWriter, getValidContentType
-
Constructor Details
-
BackingStoreSerializationWriterProxyFactory
Initializes a new instance of the BackingStoreSerializationWriterProxyFactory class given a concrete implementation of SerializationWriterFactory.- Parameters:
concrete- a concrete implementation of SerializationWriterFactory to wrap.
-
-
Method Details
-
getSerializationWriter
@Nonnull public SerializationWriter getSerializationWriter(@Nonnull String contentType, boolean serializeOnlyChangedValues) Returns a SerializationWriter that overrides the default serialization of only changed values if serializeOnlyChangedValues="true" Gets the previously proxied serialization writer without any backing store configuration to prevent overwriting the registry affecting future serialization requests- Parameters:
contentType- HTTP content type header valueserializeOnlyChangedValues- alter backing store default behavior- Returns:
- the SerializationWriter
-