java.lang.Object
com.sun.net.httpserver.Authenticator.Result
com.sun.net.httpserver.Authenticator.Failure
- Enclosing class:
- Authenticator
Indicates an authentication failure. The authentication
 attempt has completed.
- 
Constructor SummaryConstructorsConstructorDescriptionFailure(int responseCode) Creates aFailureinstance with given response code.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the response code to send to the client.
- 
Constructor Details- 
Failurepublic Failure(int responseCode) Creates aFailureinstance with given response code.- Parameters:
- responseCode- the response code to associate with this- Failureinstance
 
 
- 
- 
Method Details- 
getResponseCodepublic int getResponseCode()Returns the response code to send to the client.- Returns:
- the response code associated with this Failureinstance
 
 
-