Apache CXF API

org.apache.cxf.annotations
Annotation Type FastInfoset


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FastInfoset

Enables FastInfoset negotiation


Optional Element Summary
 boolean force
          Set to true in order for FastInfoset to be always used without negotiation
 int serializerAttributeValueMapMemoryLimit
          Sets the property attributeValueMapMemoryLimit on FastInfoset StAX Serializers.
 int serializerCharacterContentChunkMapMemoryLimit
          Sets the property characterContentChunkMapMemoryLimit on FastInfoset StAX Serializers.
 int serializerMaxAttributeValueSize
          Sets the property maxAttributeValueSize on FastInfoset StAX Serializers.
 int serializerMaxCharacterContentChunkSize
          Sets the property maxCharacterContentChunkSize on FastInfoset StAX Serializers.
 int serializerMinAttributeValueSize
          Sets the property minAttributeValueSize on FastInfoset StAX Serializers.
 int serializerMinCharacterContentChunkSize
          Sets the property minCharacterContentChunkSize on FastInfoset StAX Serializers.
 

force

public abstract boolean force
Set to true in order for FastInfoset to be always used without negotiation

Default:
false

serializerAttributeValueMapMemoryLimit

public abstract int serializerAttributeValueMapMemoryLimit
Sets the property attributeValueMapMemoryLimit on FastInfoset StAX Serializers. The property controls attribute value map size and can be used to control the memory and (indirectly) CPU footprint of processing.

Default:
-1

serializerMinAttributeValueSize

public abstract int serializerMinAttributeValueSize
Sets the property minAttributeValueSize on FastInfoset StAX Serializers. The property controls the minimum size of attribute values to be indexed.

Default:
-1

serializerMaxAttributeValueSize

public abstract int serializerMaxAttributeValueSize
Sets the property maxAttributeValueSize on FastInfoset StAX Serializers. The property controls the maximum size of attribute values to be indexed. Tests have shown that setting this property to lower values reduces CPU burden of processing, at the expense of larger sizes of resultant encoded Fast Infoset data.

Default:
-1

serializerCharacterContentChunkMapMemoryLimit

public abstract int serializerCharacterContentChunkMapMemoryLimit
Sets the property characterContentChunkMapMemoryLimit on FastInfoset StAX Serializers. The property controls character content chunk map size and can be used to control the memory and (indirectly) CPU footprint of processing.

Default:
-1

serializerMinCharacterContentChunkSize

public abstract int serializerMinCharacterContentChunkSize
Sets the property minCharacterContentChunkSize on FastInfoset StAX Serializers. The property controls the minimum size of character content chunks to be indexed.

Default:
-1

serializerMaxCharacterContentChunkSize

public abstract int serializerMaxCharacterContentChunkSize
Sets the property maxCharacterContentChunkSize on FastInfoset StAX Serializers. The property controls the maximum size of character content chunks to be indexed. Tests have shown that setting this property to lower values reduces CPU burden of processing, at the expense of larger sizes of resultant encoded Fast Infoset data.

Default:
-1

Apache CXF API

Apache CXF