public class HuaHttpFactory<T> extends Object implements org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.BeanFactoryAware, HuaHttpHandlerConfigAware
| Constructor and Description |
|---|
HuaHttpFactory(Class<T> interfaceClass) |
| Modifier and Type | Method and Description |
|---|---|
T |
getObject() |
@NotNull Class<T> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanFactory(@NotNull org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setHttpHandlerConfig(HttpHandlerConfig httpHandlerConfig) |
void |
setHttpProperty(HttpProperty httpProperty) |
public void setEnvironment(org.springframework.core.env.Environment environment)
public void setHttpProperty(HttpProperty httpProperty)
public void setHttpHandlerConfig(HttpHandlerConfig httpHandlerConfig)
setHttpHandlerConfig in interface HuaHttpHandlerConfigAwarepublic void setBeanFactory(@NotNull org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic T getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<T>public @NotNull Class<T> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<T>Copyright © 2020. All rights reserved.