Class RequestFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<Request>, org.springframework.beans.factory.InitializingBean

    public class RequestFactoryBean
    extends Object
    implements org.springframework.beans.factory.FactoryBean<Request>, org.springframework.beans.factory.InitializingBean
    A FactoryBean responsible for initializing a Request.
    Author:
    Matthias Müller
    • Constructor Detail

      • RequestFactoryBean

        public RequestFactoryBean​(javax.servlet.http.HttpServletRequest httpServletRequest,
                                  Environment environment,
                                  org.springframework.core.convert.ConversionService conversionService,
                                  org.springframework.context.MessageSource messageSource)
    • Method Detail

      • getObject

        public Request getObject()
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<Request>
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • getObjectType

        public Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<Request>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<Request>