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

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

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

origin: org.apache.tomcat/tomcat-catalina

/**
 * Return the filter definition for the specified filter name, if any;
 * otherwise return <code>null</code>.
 *
 * @param name Filter name to look up
 * @return a string representation of the filter definition
 * @throws MBeanException propagated from the managed resource access
 */
public String findFilterDef(String name) throws MBeanException {
  Context context = doGetManagedResource();
  FilterDef filterDef = context.findFilterDef(name);
  return filterDef.toString();
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Return the set of defined filters for this Context.
 * @return a string array with a representation of all
 *  the filter definitions
 * @throws MBeanException propagated from the managed resource access
 */
public String[] findFilterDefs() throws MBeanException {
  Context context = doGetManagedResource();
  FilterDef[] filterDefs = context.findFilterDefs();
  String[] stringFilters = new String[filterDefs.length];
  for (int counter = 0; counter < filterDefs.length; counter++) {
    stringFilters[counter] = filterDefs[counter].toString();
  }
  return stringFilters;
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Return the filter definition for the specified filter name, if any;
 * otherwise return <code>null</code>.
 *
 * @param name Filter name to look up
 * @return a string representation of the filter definition
 * @throws MBeanException propagated from the managed resource access
 */
public String findFilterDef(String name) throws MBeanException {
  Context context = doGetManagedResource();
  FilterDef filterDef = context.findFilterDef(name);
  return filterDef.toString();
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Return the set of defined filters for this Context.
 * @return a string array with a representation of all
 *  the filter definitions
 * @throws MBeanException propagated from the managed resource access
 */
public String[] findFilterDefs() throws MBeanException {
  Context context = doGetManagedResource();
  FilterDef[] filterDefs = context.findFilterDefs();
  String[] stringFilters = new String[filterDefs.length];
  for (int counter = 0; counter < filterDefs.length; counter++) {
    stringFilters[counter] = filterDefs[counter].toString();
  }
  return stringFilters;
}
origin: codefollower/Tomcat-Research

/**
 * Return the filter definition for the specified filter name, if any;
 * otherwise return <code>null</code>.
 *
 * @param name Filter name to look up
 */
public String findFilterDef(String name) throws MBeanException {
  Context context;
  try {
    context = (Context)getManagedResource();
  } catch (InstanceNotFoundException e) {
    throw new MBeanException(e);
  } catch (RuntimeOperationsException e) {
    throw new MBeanException(e);
  } catch (InvalidTargetObjectTypeException e) {
    throw new MBeanException(e);
  }
  FilterDef filterDef = context.findFilterDef(name);
  return filterDef.toString();
}
origin: codefollower/Tomcat-Research

/**
 * Return the set of defined filters for this Context.
 */
public String[] findFilterDefs() throws MBeanException {
  Context context;
  try {
    context = (Context)getManagedResource();
  } catch (InstanceNotFoundException e) {
    throw new MBeanException(e);
  } catch (RuntimeOperationsException e) {
    throw new MBeanException(e);
  } catch (InvalidTargetObjectTypeException e) {
    throw new MBeanException(e);
  }
  FilterDef[] filterDefs = context.findFilterDefs();
  String[] stringFilters = new String[filterDefs.length];
  for(int counter=0; counter < filterDefs.length; counter++){
    stringFilters[counter]=filterDefs[counter].toString();
  }
  return stringFilters;
}
org.apache.tomcat.util.descriptor.webFilterDeftoString

Javadoc

Render a String representation of this object.

Popular methods of FilterDef

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

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • 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