Class IgnoreSpec

java.lang.Object
org.javalite.activeweb.IgnoreSpec

public class IgnoreSpec extends Object
Created by igor on 4/29/14.
  • Method Details

    • ignores

      protected boolean ignores(String path)
    • exceptIn

      public void exceptIn(String environment)
      Sets an environment in which NOT TO ignore a URI. Typical use is to process some URIs in development environment, such as compile CSS, or do special image processing. In other environments, this URL will be ignored, given that resource is pre-processed and available from container.
      Parameters:
      environment - name of environment in which NOT to ignore this URI.