Package play

Class ConfProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Direct Known Subclasses:
OrderSafeProperties

public class ConfProperties extends Properties
With this helper class one could do the following:

 if (!Play.configuration.property("XForwardedSupport", "not-all").hasValue("all") { ... }
 
instead of:
 if (!"ALL".equalsIgnoreCase(Play.configuration.getProperty("XForwardedSupport")) { ... }
 
See Also:
  • Constructor Details

    • ConfProperties

      public ConfProperties()
  • Method Details