Package org.mortbay.jetty.servlet

Examples of org.mortbay.jetty.servlet.WebApplicationHandler.defineFilter()


   */
  protected void defineFilter(WebApplicationContext ctx, String name,
      String classname, Map<String, String> parameters, String[] urls) {

    WebApplicationHandler handler = ctx.getWebApplicationHandler();
    FilterHolder holder = handler.defineFilter(name, classname);
    if (parameters != null) {
      for(Map.Entry<String, String> e : parameters.entrySet()) {
        holder.setInitParameter(e.getKey(), e.getValue());
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.