Class EncodingHandlerFactoryBean
- java.lang.Object
-
- com.aspectran.undertow.server.encoding.EncodingHandlerFactory
-
- com.aspectran.undertow.server.encoding.EncodingHandlerFactoryBean
-
- All Implemented Interfaces:
FactoryBean<io.undertow.server.HttpHandler>
,InitializableBean
public class EncodingHandlerFactoryBean extends EncodingHandlerFactory implements InitializableBean, FactoryBean<io.undertow.server.HttpHandler>
Created: 2019-08-18
-
-
Field Summary
-
Fields inherited from interface com.aspectran.core.component.bean.ablility.FactoryBean
FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description EncodingHandlerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.undertow.server.handlers.encoding.EncodingHandler
getObject()
Return an instance (possibly shared or independent) of the object managed by this factory.void
initialize()
Invoke on initialization after it has set all bean properties supplied.-
Methods inherited from class com.aspectran.undertow.server.encoding.EncodingHandlerFactory
createEncodingHandler, setContentEncodingProviders, setExcludedUserAgents, setHandler, setMaxContentSize, setMediaTypes
-
-
-
-
Method Detail
-
initialize
public void initialize() throws java.lang.Exception
Description copied from interface:InitializableBean
Invoke on initialization after it has set all bean properties supplied.- Specified by:
initialize
in interfaceInitializableBean
- Throws:
java.lang.Exception
- if initialization fails
-
getObject
public io.undertow.server.handlers.encoding.EncodingHandler getObject() throws java.lang.Exception
Description copied from interface:FactoryBean
Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.- Specified by:
getObject
in interfaceFactoryBean<io.undertow.server.HttpHandler>
- Returns:
- an instance of the bean (can be null)
- Throws:
java.lang.Exception
- in case of creation errors
-
-