Package 

Interface Taintable

  • All Implemented Interfaces:

    
    public interface Taintable
    
                        

    For things that can be converted into an Immutable Tainted

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Taintable.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Tainted toTaintedS() Returns an Immutable Tainted representation of the object.
      abstract Integer length() The length of the underlying String
      Boolean isEmpty()
      abstract String unsafeRaw() DANGEROUS: Using this trusts user input, defeating the purpose of this class, but if you really want that, here it is.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • length

         abstract Integer length()

        The length of the underlying String

      • unsafeRaw

         abstract String unsafeRaw()

        DANGEROUS: Using this trusts user input, defeating the purpose of this class, but if you really want that, here it is. Tip: search your project for usages of this method!