Class UntrustedInput

  • Direct Known Subclasses:
    UntrustedUrlInput

    public class UntrustedInput
    extends Object
    Wrapper class to mark untrusted input.
    • Field Detail

      • input

        protected Object input
    • Constructor Detail

      • UntrustedInput

        public UntrustedInput​(Object input)
        Construct a new UntrustedInput instance.
        Parameters:
        input - the untrusted input Object
    • Method Detail

      • getInput

        public Object getInput()
        Returns the untrusted input as Object.
        Returns:
        the input as Object
      • getString

        public String getString()
        Returns the untrusted input convertet to a String.
        Returns:
        the input as String