Tabnine Logo
FilterDef.getFilterClass
Code IndexAdd Tabnine to your IDE (free)

How to use
getFilterClass
method
in
org.apache.tomcat.util.descriptor.web.FilterDef

Best Java code snippets using org.apache.tomcat.util.descriptor.web.FilterDef.getFilterClass (Showing top 20 results out of 315)

origin: psi-probe/psi-probe

FilterDef fd = context.findFilterDef(filterMap.getFilterName());
if (fd != null) {
 filterClass = fd.getFilterClass();
origin: psi-probe/psi-probe

FilterDef fd = context.findFilterDef(filterMap.getFilterName());
if (fd != null) {
 filterClass = fd.getFilterClass();
origin: psi-probe/psi-probe

FilterDef fd = context.findFilterDef(filterMap.getFilterName());
if (fd != null) {
 filterClass = fd.getFilterClass();
origin: psi-probe/psi-probe

/**
 * Gets the filter info.
 *
 * @param fd the fd
 * @return the filter info
 */
private static FilterInfo getFilterInfo(FilterDef fd) {
 FilterInfo fi = new FilterInfo();
 fi.setFilterName(fd.getFilterName());
 fi.setFilterClass(fd.getFilterClass());
 fi.setFilterDesc(fd.getDescription());
 return fi;
}
origin: psi-probe/psi-probe

/**
 * Gets the filter info.
 *
 * @param fd the fd
 * @return the filter info
 */
private static FilterInfo getFilterInfo(FilterDef fd) {
 FilterInfo fi = new FilterInfo();
 fi.setFilterName(fd.getFilterName());
 fi.setFilterClass(fd.getFilterClass());
 fi.setFilterDesc(fd.getDescription());
 return fi;
}
origin: psi-probe/psi-probe

/**
 * Gets the filter info.
 *
 * @param fd the fd
 * @return the filter info
 */
private static FilterInfo getFilterInfo(FilterDef fd) {
 FilterInfo fi = new FilterInfo();
 fi.setFilterName(fd.getFilterName());
 fi.setFilterClass(fd.getFilterClass());
 fi.setFilterDesc(fd.getDescription());
 return fi;
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * @return The class of the filter we are configuring.
 */
public String getFilterClass() {
  return filterDef.getFilterClass();
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * @return The class of the filter we are configuring.
 */
public String getFilterClass() {
  return filterDef.getFilterClass();
}
origin: codefollower/Tomcat-Research

/**
 * Return the class of the filter we are configuring.
 */
public String getFilterClass() {
  return filterDef.getFilterClass();
}
origin: org.apache.tomcat/tomcat-catalina

@Override
public String getClassName() {
  return filterDef.getFilterClass();
}
origin: codefollower/Tomcat-Research

@Override
public String getClassName() {
  return filterDef.getFilterClass();
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

@Override
public String getClassName() {
  return filterDef.getFilterClass();
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Return a String representation of this object.
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder("ApplicationFilterConfig[");
  sb.append("name=");
  sb.append(filterDef.getFilterName());
  sb.append(", filterClass=");
  sb.append(filterDef.getFilterClass());
  sb.append("]");
  return sb.toString();
}
origin: codefollower/Tomcat-Research

/**
 * Return a String representation of this object.
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder("ApplicationFilterConfig[");
  sb.append("name=");
  sb.append(filterDef.getFilterName());
  sb.append(", filterClass=");
  sb.append(filterDef.getFilterClass());
  sb.append("]");
  return (sb.toString());
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Return a String representation of this object.
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder("ApplicationFilterConfig[");
  sb.append("name=");
  sb.append(filterDef.getFilterName());
  sb.append(", filterClass=");
  sb.append(filterDef.getFilterClass());
  sb.append("]");
  return sb.toString();
}
origin: codefollower/Tomcat-Research

/**
 * Return the application Filter we are configured for.
 *
 * @exception ClassCastException if the specified class does not implement
 *  the <code>javax.servlet.Filter</code> interface
 * @exception ClassNotFoundException if the filter class cannot be found
 * @exception IllegalAccessException if the filter class cannot be
 *  publicly instantiated
 * @exception InstantiationException if an exception occurs while
 *  instantiating the filter object
 * @exception ServletException if thrown by the filter's init() method
 * @throws NamingException
 * @throws InvocationTargetException
 */
Filter getFilter() throws ClassCastException, ClassNotFoundException,
  IllegalAccessException, InstantiationException, ServletException,
  InvocationTargetException, NamingException {
  // Return the existing filter instance, if any
  if (this.filter != null)
    return (this.filter);
  // Identify the class loader we will be using
  String filterClass = filterDef.getFilterClass();
  this.filter = (Filter) getInstanceManager().newInstance(filterClass);
  initFilter();
  return (this.filter);
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Return the application Filter we are configured for.
 *
 * @exception ClassCastException if the specified class does not implement
 *  the <code>javax.servlet.Filter</code> interface
 * @exception ClassNotFoundException if the filter class cannot be found
 * @exception IllegalAccessException if the filter class cannot be
 *  publicly instantiated
 * @exception InstantiationException if an exception occurs while
 *  instantiating the filter object
 * @exception ServletException if thrown by the filter's init() method
 * @throws NamingException
 * @throws ReflectiveOperationException
 * @throws SecurityException
 * @throws IllegalArgumentException
 */
Filter getFilter() throws ClassCastException, ReflectiveOperationException, ServletException,
    NamingException, IllegalArgumentException, SecurityException {
  // Return the existing filter instance, if any
  if (this.filter != null)
    return this.filter;
  // Identify the class loader we will be using
  String filterClass = filterDef.getFilterClass();
  this.filter = (Filter) context.getInstanceManager().newInstance(filterClass);
  initFilter();
  return this.filter;
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Process the annotations for the filters.
 *
 * @param context The context which will have its annotations processed
 */
protected static void loadApplicationFilterAnnotations(Context context) {
  FilterDef[] filterDefs = context.findFilterDefs();
  for (FilterDef filterDef : filterDefs) {
    Class<?> clazz = Introspection.loadClass(context, filterDef.getFilterClass());
    if (clazz == null) {
      continue;
    }
    loadClassAnnotation(context, clazz);
    loadFieldsAnnotation(context, clazz);
    loadMethodsAnnotation(context, clazz);
  }
}
origin: codefollower/Tomcat-Research

/**
 * Process the annotations for the filters.
 */
protected static void loadApplicationFilterAnnotations(Context context) {
  Class<?> classClass = null;
  FilterDef[] filterDefs = context.findFilterDefs();
  for (int i = 0; i < filterDefs.length; i++) {
    classClass = Introspection.loadClass(context,
        (filterDefs[i]).getFilterClass());
    if (classClass == null) {
      continue;
    }
    loadClassAnnotation(context, classClass);
    loadFieldsAnnotation(context, classClass);
    loadMethodsAnnotation(context, classClass);
  }
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Process the annotations for the filters.
 *
 * @param context The context which will have its annotations processed
 */
protected static void loadApplicationFilterAnnotations(Context context) {
  FilterDef[] filterDefs = context.findFilterDefs();
  for (FilterDef filterDef : filterDefs) {
    Class<?> clazz = Introspection.loadClass(context, filterDef.getFilterClass());
    if (clazz == null) {
      continue;
    }
    loadClassAnnotation(context, clazz);
    loadFieldsAnnotation(context, clazz);
    loadMethodsAnnotation(context, clazz);
  }
}
org.apache.tomcat.util.descriptor.webFilterDefgetFilterClass

Popular methods of FilterDef

  • <init>
  • setFilterName
  • setFilterClass
  • getFilterName
  • setAsyncSupported
  • addInitParameter
    Add an initialization parameter to the set of parameters associated with this filter.
  • getDescription
  • setDisplayName
  • setFilter
  • getParameterMap
  • setDescription
  • getAsyncSupported
  • setDescription,
  • getAsyncSupported,
  • getDisplayName,
  • getFilter,
  • getLargeIcon,
  • getSmallIcon,
  • setLargeIcon,
  • setSmallIcon,
  • toString

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
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