Package org.apache.cxf.interceptor
Class FIStaxOutInterceptor
- java.lang.Object
- 
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
- 
- org.apache.cxf.interceptor.FIStaxOutInterceptor
 
 
- 
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
 
 public class FIStaxOutInterceptor extends AbstractPhaseInterceptor<Message> Creates an XMLStreamReader from the InputStream on the Message.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringFI_ENABLED
 - 
Constructor SummaryConstructors Constructor Description FIStaxOutInterceptor()FIStaxOutInterceptor(boolean f)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetSerializerAttributeValueMapMemoryLimit()IntegergetSerializerCharacterContentChunkMapMemoryLimit()IntegergetSerializerMaxAttributeValueSize()IntegergetSerializerMaxCharacterContentChunkSize()IntegergetSerializerMinAttributeValueSize()IntegergetSerializerMinCharacterContentChunkSize()voidhandleFault(Message message)Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.voidhandleMessage(Message message)Intercepts a message.voidsetSerializerAttributeValueMapMemoryLimit(Integer serializerAttributeValueMapMemoryLimit)Sets the propertyattributeValueMapMemoryLimiton FastInfoset StAX Serializers created and used by this interceptor.voidsetSerializerCharacterContentChunkMapMemoryLimit(Integer serializerCharacterContentChunkMapMemoryLimit)Sets the propertycharacterContentChunkMapMemoryLimiton FastInfoset StAX Serializers created and used by this interceptor.voidsetSerializerMaxAttributeValueSize(Integer serializerMaxAttributeValueSize)Sets the propertymaxAttributeValueSizeon FastInfoset StAX Serializers created and used by this interceptor.voidsetSerializerMaxCharacterContentChunkSize(Integer serializerMaxCharacterContentChunkSize)Sets the propertymaxCharacterContentChunkSizeon FastInfoset StAX Serializers created and used by this interceptor.voidsetSerializerMinAttributeValueSize(Integer serializerMinAttributeValueSize)Sets the propertyminAttributeValueSizeon FastInfoset StAX Serializers created and used by this interceptor.voidsetSerializerMinCharacterContentChunkSize(Integer serializerMinCharacterContentChunkSize)Sets the propertyminCharacterContentChunkSizeon FastInfoset StAX Serializers created and used by this interceptor.- 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
 
- 
 
- 
- 
- 
Field Detail- 
FI_ENABLEDpublic static final String FI_ENABLED - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
handleFaultpublic void handleFault(Message message) Description copied from interface:InterceptorCalled for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.- Specified by:
- handleFaultin interface- Interceptor<Message>
- Overrides:
- handleFaultin class- AbstractPhaseInterceptor<Message>
 
 - 
handleMessagepublic void handleMessage(Message message) Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
 - 
getSerializerMinAttributeValueSizepublic Integer getSerializerMinAttributeValueSize() 
 - 
setSerializerMinAttributeValueSizepublic void setSerializerMinAttributeValueSize(Integer serializerMinAttributeValueSize) Sets the propertyminAttributeValueSizeon FastInfoset StAX Serializers created and used by this interceptor. The property controls the minimum size of attribute values to be indexed.- Parameters:
- serializerMinAttributeValueSize- The minimum size for attribute values to be indexed, measured as a number of characters. The default is typically 0.
 
 - 
getSerializerMaxAttributeValueSizepublic Integer getSerializerMaxAttributeValueSize() 
 - 
setSerializerMaxAttributeValueSizepublic void setSerializerMaxAttributeValueSize(Integer serializerMaxAttributeValueSize) Sets the propertymaxAttributeValueSizeon FastInfoset StAX Serializers created and used by this interceptor. 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.- Parameters:
- serializerMaxAttributeValueSize- The maximum size for attribute values to be indexed, measured as a number of characters. The default is typically 32.
 
 - 
getSerializerCharacterContentChunkMapMemoryLimitpublic Integer getSerializerCharacterContentChunkMapMemoryLimit() 
 - 
setSerializerCharacterContentChunkMapMemoryLimitpublic void setSerializerCharacterContentChunkMapMemoryLimit(Integer serializerCharacterContentChunkMapMemoryLimit) Sets the propertycharacterContentChunkMapMemoryLimiton FastInfoset StAX Serializers created and used by this interceptor. The property controls character content chunk map size and can be used to control the memory and (indirectly) CPU footprint of processing.- Parameters:
- serializerCharacterContentChunkMapMemoryLimit- The value for the limit, measured as a number of Unicode characters.
 
 - 
getSerializerMinCharacterContentChunkSizepublic Integer getSerializerMinCharacterContentChunkSize() 
 - 
setSerializerMinCharacterContentChunkSizepublic void setSerializerMinCharacterContentChunkSize(Integer serializerMinCharacterContentChunkSize) Sets the propertyminCharacterContentChunkSizeon FastInfoset StAX Serializers created and used by this interceptor. The property controls the minimum size of character content chunks to be indexed.- Parameters:
- serializerMinCharacterContentChunkSize- The minimum size for character content chunks to be indexed, measured as a number of characters. The default is typically 0.
 
 - 
getSerializerMaxCharacterContentChunkSizepublic Integer getSerializerMaxCharacterContentChunkSize() 
 - 
setSerializerMaxCharacterContentChunkSizepublic void setSerializerMaxCharacterContentChunkSize(Integer serializerMaxCharacterContentChunkSize) Sets the propertymaxCharacterContentChunkSizeon FastInfoset StAX Serializers created and used by this interceptor. 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.- Parameters:
- serializerMaxCharacterContentChunkSize- The maximum size for character content chunks to be indexed, measured as a number of characters. The default is typically 32.
 
 - 
getSerializerAttributeValueMapMemoryLimitpublic Integer getSerializerAttributeValueMapMemoryLimit() 
 - 
setSerializerAttributeValueMapMemoryLimitpublic void setSerializerAttributeValueMapMemoryLimit(Integer serializerAttributeValueMapMemoryLimit) Sets the propertyattributeValueMapMemoryLimiton FastInfoset StAX Serializers created and used by this interceptor. The property controls attribute value map size and can be used to control the memory and (indirectly) CPU footprint of processing.- Parameters:
- serializerAttributeValueMapMemoryLimit- The value for the limit, measured as a number of Unicode characters.
 
 
- 
 
-