congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 14 Best Plugins for Eclipse
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