RewriteCond.ResourceCondition (Apache Tomcat 8.5.55 API Documentation)

org.apache.catalina.valves.rewrite

## Class RewriteCond.ResourceCondition

- java.lang.Object
- - org.apache.catalina.valves.rewrite.RewriteCond.Condition
  - - org.apache.catalina.valves.rewrite.RewriteCond.ResourceCondition

- Enclosing class:
    RewriteCond

      public static class RewriteCond.ResourceCondition
      extends RewriteCond.Condition

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `type` 0: -d (is directory ?)

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RewriteCond.ResourceCondition()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `evaluate(String value, Resolver resolver)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### type

          public int type

      0: -d (is directory ?) 1: -f (is regular file ?) 2: -s (is regular file with size ?)

  - ### Constructor Detail

    - #### RewriteCond.ResourceCondition

          public RewriteCond.ResourceCondition()

  - ### Method Detail

    - #### evaluate

          public boolean evaluate(String value,
                         Resolver resolver)

      Specified by:
        `evaluate` in class `RewriteCond.Condition`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.