Codota Logo
RequestBeanStore
Code IndexAdd Codota to your IDE (free)

How to use
RequestBeanStore
in
org.jboss.weld.module.web.context.beanstore.http

Best Java code snippets using org.jboss.weld.module.web.context.beanstore.http.RequestBeanStore (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: weld/core

  public HttpServletRequest getHttpServletRequest() {
    if (getBeanStore() instanceof RequestBeanStore) {
      return Reflections.<RequestBeanStore>cast(getBeanStore()).getRequest();
    }
    return null;
  }
}
origin: weld/core

public boolean associate(HttpServletRequest request) {
  // At this point the bean store should never be set - see also HttpContextLifecycle#nestedInvocationGuard
  BoundBeanStore beanStore = getBeanStore();
  if (beanStore != null) {
    ContextLogger.LOG.beanStoreLeakDuringAssociation(this.getClass().getName(), request);
    if (ContextLogger.LOG.isDebugEnabled()) {
      ContextLogger.LOG.beanStoreLeakAffectedBeanIdentifiers(this.getClass().getName(), Iterables.toMultiRowString(beanStore));
    }
  }
  // We always associate a new bean store to avoid possible leaks (security threats)
  beanStore = new RequestBeanStore(request, namingScheme);
  setBeanStore(beanStore);
  beanStore.attach();
  return true;
}
origin: weld/core

public boolean associate(HttpServletRequest request) {
  // At this point the bean store should never be set - see also HttpContextLifecycle#nestedInvocationGuard
  BoundBeanStore beanStore = getBeanStore();
  if (beanStore != null) {
    ContextLogger.LOG.beanStoreLeakDuringAssociation(this.getClass().getName(), request);
    if (ContextLogger.LOG.isDebugEnabled()) {
      ContextLogger.LOG.beanStoreLeakAffectedBeanIdentifiers(this.getClass().getName(), Iterables.toMultiRowString(beanStore));
    }
  }
  // We always associate a new bean store to avoid possible leaks (security threats)
  beanStore = new RequestBeanStore(request, namingScheme);
  setBeanStore(beanStore);
  beanStore.attach();
  return true;
}
origin: weld/core

  public HttpServletRequest getHttpServletRequest() {
    if (getBeanStore() instanceof RequestBeanStore) {
      return Reflections.<RequestBeanStore>cast(getBeanStore()).getRequest();
    }
    return null;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public boolean associate(HttpServletRequest request) {
  // At this point the bean store should never be set - see also HttpContextLifecycle#nestedInvocationGuard
  BoundBeanStore beanStore = getBeanStore();
  if (beanStore != null) {
    ContextLogger.LOG.beanStoreLeakDuringAssociation(this.getClass().getName(), request);
    if (ContextLogger.LOG.isDebugEnabled()) {
      ContextLogger.LOG.beanStoreLeakAffectedBeanIdentifiers(this.getClass().getName(), Iterables.toMultiRowString(beanStore));
    }
  }
  // We always associate a new bean store to avoid possible leaks (security threats)
  beanStore = new RequestBeanStore(request, namingScheme);
  setBeanStore(beanStore);
  beanStore.attach();
  return true;
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  public HttpServletRequest getHttpServletRequest() {
    if (getBeanStore() instanceof RequestBeanStore) {
      return Reflections.<RequestBeanStore>cast(getBeanStore()).getRequest();
    }
    return null;
  }
}
org.jboss.weld.module.web.context.beanstore.httpRequestBeanStore

Javadoc

A BeanStore that uses a HTTP request as backing storage.

This class is not threadsafe

Most used methods

  • <init>
  • getRequest

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • findViewById (Activity)
  • getSystemService (Context)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ImageIO (javax.imageio)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now