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

How to use
RemoteAddrFilter
in
org.apache.catalina.filters

Best Java code snippets using org.apache.catalina.filters.RemoteAddrFilter (Showing top 18 results out of 315)

origin: org.apache.tomcat/tomcat-catalina

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  process(request.getRemoteAddr(), request, response, chain);
}
origin: codefollower/Tomcat-Research

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteAddr(),
      event, chain);
}
origin: codefollower/Tomcat-Research

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  process(request.getRemoteAddr(), request, response, chain);
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteAddr(),
      event, chain);        
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: jboss.web/jbossweb

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(HttpEvent event, HttpEventFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteHost(),
      event, chain);        
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  process(request.getRemoteAddr(), request, response, chain);
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteHost(),
      event, chain);        
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: org.jboss.web/jbossweb

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(HttpEvent event, HttpEventFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteAddr(),
      event, chain);        
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteAddr(),
      event, chain);        
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteHost(),
      event, chain);        
}
origin: org.jboss.web/jbossweb

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Extract the desired request property, and pass it (along with the comet
 * event and filter chain) to the protected <code>process()</code> method
 * to perform the actual filtering.
 *
 * @param event The comet event to be processed
 * @param chain The filter chain for this event
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilterEvent(CometEvent event, CometFilterChain chain)
    throws IOException, ServletException {
  processCometEvent(event.getHttpServletRequest().getRemoteHost(),
      event, chain);        
}
origin: jboss.web/jbossweb

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Extract the desired request property, and pass it (along with the
 * specified request and response objects and associated filter chain) to
 * the protected <code>process()</code> method to perform the actual
 * filtering.
 *
 * @param request  The servlet request to be processed
 * @param response The servlet response to be created
 * @param chain    The filter chain for this request
 *
 * @exception IOException if an input/output error occurs
 * @exception ServletException if a servlet error occurs
 */
@Override
public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
  
  process(request.getRemoteAddr(), request, response, chain);
}
org.apache.catalina.filtersRemoteAddrFilter

Javadoc

Concrete implementation of RequestFilter that filters based on the string representation of the remote client's IP address.

Most used methods

  • process
  • processCometEvent

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • startActivity (Activity)
  • setScale (BigDecimal)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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