Name

Authenticator.RequestorType

Synopsis

The constants defined by this enumerated type specify whether an authentication request comes from an HTTP origin server or a proxy server.

public enum Authenticator.RequestorType {
// Enumerated Constants
                  PROXY,  
     SERVER;  
// Public Class Methods
     public static Authenticator.RequestorType valueOf(String name);  
     public static final Authenticator.RequestorType[ ] values( );  
}

Passed To

Authenticator.requestPasswordAuthentication( )

Returned By

Authenticator.getRequestorType( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.