| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final List | |
| private static final Logger | |
| private static final String | |
| private static final SNIHostName |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static Map | |
| private static AltSvcProcessor. | |
| private static boolean | |
| pack-priv static List | |
| private static Deadline | |
| private static AltSvcProcessor. | |
| pack-priv static void | processAltSvcFrame(final int streamId, final AltSvcFrame frame, final HttpConnection conn, final HttpClientImpl client)
|
| pack-priv static void | processAltSvcHeader(Response
response passed on by the server response, HttpClientImpl client that holds alt-svc registry client, HttpRequestImpl request that holds the origin details request)Parses the alt-svc header received from origin and update registry with the processed values. |
| private static List | |
| private static void |
| allowLocalHostOrigin | back to summary |
|---|---|
| private static final boolean allowLocalHostOrigin | |
| CLEAR_ALL_ALT_SVCS | back to summary |
|---|---|
| private static final List<AltServicesRegistry. | |
| debug | back to summary |
|---|---|
| private static final Logger debug | |
| HEADER | back to summary |
|---|---|
| private static final String HEADER | |
| LOCALHOST_SNI | back to summary |
|---|---|
| private static final SNIHostName LOCALHOST_SNI | |
| AltSvcProcessor | back to summary |
|---|---|
| private AltSvcProcessor() | |
| decodePotentialPercentEncoded | back to summary |
|---|---|
| private static String decodePotentialPercentEncoded(final String val) | |
| extractParameters | back to summary |
|---|---|
| private static Map | |
| getHostPort | back to summary |
|---|---|
| private static AltSvcProcessor. | |
| getPersist | back to summary |
|---|---|
| private static boolean getPersist(final String persist) | |
| getSNIServerNames | back to summary |
|---|---|
| pack-priv static List | |
| getValidTill | back to summary |
|---|---|
| private static Deadline getValidTill(final String maxAge) | |
| parseAltValue | back to summary |
|---|---|
| private static AltSvcProcessor. | |
| processAltSvcFrame | back to summary |
|---|---|
| pack-priv static void processAltSvcFrame(final int streamId, final AltSvcFrame frame, final HttpConnection conn, final HttpClientImpl client) | |
| processAltSvcHeader | back to summary |
|---|---|
| pack-priv static void processAltSvcHeader(Response response, HttpClientImpl client, HttpRequestImpl request) Parses the alt-svc header received from origin and update registry with the processed values.
| |
| processHeaderValue | back to summary |
|---|---|
| private static List | |
| processValueAndUpdateRegistry | back to summary |
|---|---|
| private static void processValueAndUpdateRegistry(HttpClientImpl client, Origin origin, String altSvcValue) | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | |
| public int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| host | back to summary |
|---|---|
| private final String host Record Component accessed by host(). | |
| port | back to summary |
|---|---|
| private final int port Record Component accessed by port(). | |
| HostPort | back to summary |
|---|---|
| private HostPort(String host, int port) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| host | back to summary |
|---|---|
| public String host() Record Component getter of host. | |
| port | back to summary |
|---|---|
| public int port() Record Component getter of port. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | alpnName
Record Component accessed by alpnName(). |
| private final String | |
| private final Map | parameters
Record Component accessed by parameters(). |
| private final int | |
| private final String | rawValue
Record Component accessed by rawValue(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | |
| public Map | |
| public int | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| alpnName | back to summary |
|---|---|
| private final String alpnName Record Component accessed by alpnName(). | |
| host | back to summary |
|---|---|
| private final String host Record Component accessed by host(). | |
| parameters | back to summary |
|---|---|
| private final Map<String, String> parameters Record Component accessed by parameters(). | |
| port | back to summary |
|---|---|
| private final int port Record Component accessed by port(). | |
| rawValue | back to summary |
|---|---|
| private final String rawValue Record Component accessed by rawValue(). | |
| ParsedHeaderValue | back to summary |
|---|---|
| private ParsedHeaderValue(String rawValue, String alpnName, String host, int port, Map<String, String> parameters) | |
| alpnName | back to summary |
|---|---|
| public String alpnName() Record Component getter of alpnName. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| host | back to summary |
|---|---|
| public String host() Record Component getter of host. | |
| parameters | back to summary |
|---|---|
| public Map Record Component getter of parameters. | |
| port | back to summary |
|---|---|
| public int port() Record Component getter of port. | |
| rawValue | back to summary |
|---|---|
| public String rawValue() Record Component getter of rawValue. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |