A QUIC specific ClientConnector..
Since QUIC is based on UDP, this class creates DatagramChannels instead of
SocketChannels, and DatagramChannelEndPoints instead of
SocketChannelEndPoints.
QuicConfiguration
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| private Path | |
| private final QuicConfiguration | |
| private final UnaryOperator | |
| private static final Logger | |
| pack-priv static final String | |
| private Path | |
| pack-priv static final String | |
| private Path |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| CERTIFICATE_CHAIN_PEM_PATH_KEY | back to summary |
|---|---|
| pack-priv static final String CERTIFICATE_CHAIN_PEM_PATH_KEY | |
| certificateChainPemPath | back to summary |
|---|---|
| private Path certificateChainPemPath | |
| configuration | back to summary |
|---|---|
| private final QuicConfiguration configuration | |
| configurator | back to summary |
|---|---|
| private final UnaryOperator<Connection> configurator | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| PRIVATE_KEY_PEM_PATH_KEY | back to summary |
|---|---|
| pack-priv static final String PRIVATE_KEY_PEM_PATH_KEY | |
| privateKeyPemPath | back to summary |
|---|---|
| private Path privateKeyPemPath | |
| TRUSTED_CERTIFICATES_PEM_PATH_KEY | back to summary |
|---|---|
| pack-priv static final String TRUSTED_CERTIFICATES_PEM_PATH_KEY | |
| trustedCertificatesPemPath | back to summary |
|---|---|
| private Path trustedCertificatesPemPath | |
| QuicClientConnectorConfigurator | back to summary |
|---|---|
| public QuicClientConnectorConfigurator() | |
| QuicClientConnectorConfigurator | back to summary |
|---|---|
| public QuicClientConnectorConfigurator(UnaryOperator<Connection> configurator) | |
| deleteFile | back to summary |
|---|---|
| private void deleteFile(Path file) | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Starts the managed lifecycle beans in the order they were added.
| |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Stops the managed lifecycle beans in the reverse order they were added.
| |
| getQuicConfiguration | back to summary |
|---|---|
| public QuicConfiguration getQuicConfiguration() | |
| isIntrinsicallySecure | back to summary |
|---|---|
| public boolean isIntrinsicallySecure(ClientConnector clientConnector, SocketAddress address) Overrides org. Doc from org. Returns whether the connection to a given A protocol such as HTTP/1.1 can be transported by TCP; however, TCP is not secure because it does not offer any encryption. Encryption is provided by using TLS to wrap the HTTP/1.1 bytes, and then transporting the TLS bytes over TCP. On the other hand, protocols such as QUIC are intrinsically secure, and therefore it is not necessary to wrap the HTTP/1.1 bytes with TLS: the HTTP/1.1 bytes are transported over QUIC in an intrinsically secure way.
| |
| newChannelWithAddress | back to summary |
|---|---|
| public ClientConnector. Overrides org. Doc from org. Creates a new The input socket address represents the destination socket address to
connect to, as it is typically specified by a URI authority, for example
However, the returned socket address may be different as the implementation may use a Unix-Domain socket address to physically connect to the virtual destination socket address given as input. The return type is a pair/record holding the socket channel and the
socket address, with the socket channel not yet connected.
The implementation of this methods must not call
| |
| newConnection | back to summary |
|---|---|
| public Connection newConnection(ClientConnector clientConnector, SocketAddress address, EndPoint endPoint, Map<String, Object> context) Overrides org.
| |
| newEndPoint | back to summary |
|---|---|
| public EndPoint newEndPoint(ClientConnector clientConnector, SocketAddress address, SelectableChannel selectable, ManagedSelector selector, SelectionKey selectionKey) Overrides org.
| |