Module com.aoapps.servlet.util
Package com.aoapps.servlet
Class BodyContentImplCoercionOptimizerInitializer
java.lang.Object
com.aoapps.servlet.BodyContentImplCoercionOptimizerInitializer
- All Implemented Interfaces:
CoercionOptimizerInitializer
,Runnable
public class BodyContentImplCoercionOptimizerInitializer
extends Object
implements CoercionOptimizerInitializer
Registers unwrapping of
BodyContentImpl
in Coercion.registerOptimizer(com.aoapps.lang.CoercionOptimizer)
.
This is used to access the wrapped write for Catalina's implementation of the servlet BodyContent. This allows implementations of BufferResult to more efficiently write their contents to recognized writer implementations. This also allows strings to be written maintain their identity for in-context translation tools.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BodyContentImplCoercionOptimizerInitializer
public BodyContentImplCoercionOptimizerInitializer()
-
-
Method Details
-
run
public void run()- Specified by:
run
in interfaceCoercionOptimizerInitializer
- Specified by:
run
in interfaceRunnable
-