Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 355
نمايش فراداده

Authenticator.RequestorTypejava.net

Java 5.0serializable comparable enum

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( )