Tabnine Logo
HttpSessionBean
Code IndexAdd Tabnine to your IDE (free)

How to use
HttpSessionBean
in
org.jboss.weld.module.web

Best Java code snippets using org.jboss.weld.module.web.HttpSessionBean (Showing top 3 results out of 315)

origin: weld/core

  @Override
  public void preBeanRegistration(PreBeanRegistrationContext ctx) {
    if (Reflections.isClassLoadable(ServletApiAbstraction.SERVLET_CONTEXT_CLASS_NAME, WeldClassLoaderResourceLoader.INSTANCE)) {
      ctx.registerBean(new HttpServletRequestBean(ctx.getBeanManager()));
      ctx.registerBean(new HttpSessionBean(ctx.getBeanManager()));
      ctx.registerBean(new ServletContextBean(ctx.getBeanManager()));
    }
  }
}
origin: weld/core

  @Override
  public void preBeanRegistration(PreBeanRegistrationContext ctx) {
    if (Reflections.isClassLoadable(ServletApiAbstraction.SERVLET_CONTEXT_CLASS_NAME, WeldClassLoaderResourceLoader.INSTANCE)) {
      ctx.registerBean(new HttpServletRequestBean(ctx.getBeanManager()));
      ctx.registerBean(new HttpSessionBean(ctx.getBeanManager()));
      ctx.registerBean(new ServletContextBean(ctx.getBeanManager()));
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  @Override
  public void preBeanRegistration(PreBeanRegistrationContext ctx) {
    if (Reflections.isClassLoadable(ServletApiAbstraction.SERVLET_CONTEXT_CLASS_NAME, WeldClassLoaderResourceLoader.INSTANCE)) {
      ctx.registerBean(new HttpServletRequestBean(ctx.getBeanManager()));
      ctx.registerBean(new HttpSessionBean(ctx.getBeanManager()));
      ctx.registerBean(new ServletContextBean(ctx.getBeanManager()));
    }
  }
}
org.jboss.weld.module.webHttpSessionBean

Javadoc

Built-in bean exposing HttpSession.

Most used methods

  • <init>

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ImageIO (javax.imageio)
  • JFileChooser (javax.swing)
  • JTextField (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now