Class Authenticator.Failure

java.lang.Object
com.sun.net.httpserver.Authenticator.Result
com.sun.net.httpserver.Authenticator.Failure
Enclosing class:
Authenticator

public static class Authenticator.Failure
extends Authenticator.Result
Indicates an authentication failure. The authentication attempt has completed.
  • Constructor Details

    • Failure

      public Failure​(int responseCode)
  • Method Details

    • getResponseCode

      public int getResponseCode()
      returns the response code to send to the client