private static final class HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher extends Utilities implements RequestDispatcher
Utilities.SSLContextInfo
Modifier and Type | Field and Description |
---|---|
private HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection |
connection |
private RequestDispatcher |
requestDispatcher |
ANY_KEY_ALGORITHM, clientLogger, DSA_KEY_ALGORITHM, getSubjectPermission, initLogger, INTEGRITY_PREFERRED, INTEGRITY_REQUIRED, RSA_KEY_ALGORITHM, serverLogger, UNKNOWN_PRINCIPAL
Constructor and Description |
---|
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher(RequestDispatcher requestDispatcher,
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(InboundRequest request)
Processes an inbound request.
|
checkValidity, contains, doesEncryption, doesServerAuthentication, equals, firstX509Cert, getCertFactory, getCipherAlgorithm, getClassName, getClientPrincipals, getClientPrincipals, getClientSSLContextInfo, getKeyAlgorithm, getKeyExchangeAlgorithm, getPermittedKeyAlgorithms, getServerPrincipals, getServerSSLContextInfo, getSupportedCipherSuites, hasStrongCipherAlgorithm, logThrow, maintainsIntegrity, permittedKeyAlgorithm, position, releaseClientSSLContextInfo, safeEquals, subjectString, toString
private final RequestDispatcher requestDispatcher
private final HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection connection
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher(RequestDispatcher requestDispatcher, HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection connection)
public void dispatch(InboundRequest request)
RequestDispatcher
The supplied InboundRequest
is used to read the
request data and to write the response. The request is
processed in the current thread; this method does not return
until it is done processing the request.
After the invocation of this method completes (either by
returning normally or by throwing an exception), the supplied
InboundRequest
will be automatically terminated
(see InboundRequest.abort()
). If this method completes
before the close
method has been invoked on the
stream returned by the request's getResponseOutputStream
method, there is no guarantee that any or none of the data
written to the stream will be delivered; the implication is
that the implementation of this method is no longer interested
in the successful delivery of the response.
dispatch
in interface RequestDispatcher
request
- the InboundRequest
to use to read
the request data and write the responseCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.