Module swim.uri
Package swim.uri

Class UriUser

java.lang.Object
swim.uri.UriUser
All Implemented Interfaces:
Debug, Display

public class UriUser extends Object implements Debug, Display
  • Field Details

    • username

      protected final String username
    • password

      protected final String password
  • Constructor Details

    • UriUser

      protected UriUser(String username, String password)
  • Method Details

    • isDefined

      public boolean isDefined()
    • username

      public String username()
    • username

      public UriUser username(String username)
    • password

      public String password()
    • password

      public UriUser password(String password)
    • copy

      protected UriUser copy(String username, String password)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • debug

      public <T> Output<T> debug(Output<T> output)
      Description copied from interface: Debug
      Writes a developer readable, debug-formatted string representation of this object to output.
      Specified by:
      debug in interface Debug
      Returns:
      the continuation of the output.
    • display

      public <T> Output<T> display(Output<T> output)
      Description copied from interface: Display
      Writes a human readable, display-formatted string representation of this object to output.
      Specified by:
      display in interface Display
      Returns:
      the continuation of the output.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • undefined

      public static UriUser undefined()
    • create

      public static UriUser create(String username)
    • create

      public static UriUser create(String username, String password)
    • parse

      public static UriUser parse(String string)