HomeSort by relevance Sort by last modified time
    Searched refs:OptionalMethod (Results 1 - 3 of 3) sorted by null

  /external/okhttp/android/main/java/com/squareup/okhttp/internal/
Platform.java 48 private static final OptionalMethod<Socket> SET_USE_SESSION_TICKETS =
49 new OptionalMethod<Socket>(null, "setUseSessionTickets", Boolean.TYPE);
51 private static final OptionalMethod<Socket> SET_HOSTNAME =
52 new OptionalMethod<Socket>(null, "setHostname", String.class);
54 private static final OptionalMethod<Socket> GET_ALPN_SELECTED_PROTOCOL =
55 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol");
57 private static final OptionalMethod<Socket> SET_ALPN_PROTOCOLS =
58 new OptionalMethod<Socket>(null, "setAlpnProtocols", byte[].class );
60 private static final OptionalMethod<Socket> GET_NPN_SELECTED_PROTOCOL =
61 new OptionalMethod<Socket>(byte[].class, "getNpnSelectedProtocol")
    [all...]
OptionalMethod.java 29 class OptionalMethod<T> {
45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) {
139 * the {@link OptionalMethod} was created. If the return type is specified (i.e. non-null) it
  /external/okhttp/android/test/java/com/squareup/okhttp/internal/
OptionalMethodTest.java 32 * Tests for {@link OptionalMethod}.
76 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_ANY =
77 new OptionalMethod<BaseClass>(null, "stringMethod");
78 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_STRING =
79 new OptionalMethod<BaseClass>(String.class, "stringMethod");
80 private final static OptionalMethod<BaseClass> STRING_METHOD_RETURNS_INT =
81 new OptionalMethod<BaseClass>(Integer.TYPE, "stringMethod");
82 private final static OptionalMethod<BaseClass> VOID_METHOD_RETURNS_ANY =
83 new OptionalMethod<BaseClass>(null, "voidMethod");
84 private final static OptionalMethod<BaseClass> VOID_METHOD_RETURNS_VOID
    [all...]

Completed in 128 milliseconds