Class BasicAuthServerBuilder

java.lang.Object
com.helger.http.basicauth.BasicAuthServerBuilder

@NotThreadSafe public class BasicAuthServerBuilder extends Object
  • Constructor Details

    • BasicAuthServerBuilder

      public BasicAuthServerBuilder()
  • Method Details

    • getRealm

      @Nullable public String getRealm()
    • setRealm

      @Nonnull public BasicAuthServerBuilder setRealm(@Nonnull String sRealm)
      Set the realm to be used.
      Parameters:
      sRealm - The realm to be used. May not be null and should not be empty.
      Returns:
      this
    • isValid

      public boolean isValid()
    • build

      @Nonnull @Nonempty public String build()
    • toString

      public String toString()
      Overrides:
      toString in class Object