Searched refs:RequestorType (Results 1 - 3 of 3) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DAuthenticatorRequestorTypeTest.java28 @TestTargetClass(Authenticator.RequestorType.class)
38 assertEquals(Authenticator.RequestorType.PROXY,
39 Authenticator.RequestorType.valueOf("PROXY"));
40 assertEquals(Authenticator.RequestorType.SERVER,
41 Authenticator.RequestorType.valueOf("SERVER"));
43 Authenticator.RequestorType.valueOf("TEST");
57 Authenticator.RequestorType[] expectedTypes = {
58 Authenticator.RequestorType.PROXY,
59 Authenticator.RequestorType.SERVER
62 Authenticator.RequestorType[] type
[all...]
H A DAuthenticatorTest.java30 import java.net.Authenticator.RequestorType;
77 * @tests java.net.Authenticator.RequestorType#valueOf(String)
81 notes = "Test for checking RequestorType values.",
86 assertEquals(RequestorType.PROXY, Authenticator.RequestorType
88 assertEquals(RequestorType.SERVER, Authenticator.RequestorType
91 RequestorType rt = Authenticator.RequestorType.valueOf("BADNAME");
99 Authenticator.RequestorType
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DAuthenticator.java57 private RequestorType rt;
158 thisAuthenticator.rt = RequestorType.SERVER;
226 thisAuthenticator.rt = RequestorType.SERVER;
273 Authenticator.RequestorType reqType) {
310 * @return RequestorType of the authentication request.
312 protected Authenticator.RequestorType getRequestorType() {
319 public enum RequestorType { enum in class:Authenticator

Completed in 62 milliseconds