net.jini.jeri.ssl
Class HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher
java.lang.Object
net.jini.jeri.ssl.Utilities
net.jini.jeri.ssl.HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher
- All Implemented Interfaces:
- RequestDispatcher
- Enclosing class:
- HttpsServerEndpoint.HttpsServerEndpointImpl
private static final class HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher
- extends Utilities
- implements RequestDispatcher
Implements RequestDispatcher using the specified RequestDispatcher
and ServerConnection.
Methods inherited from class net.jini.jeri.ssl.Utilities |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestDispatcher
private final RequestDispatcher requestDispatcher
connection
private final HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection connection
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsRequestDispatcher(RequestDispatcher requestDispatcher,
HttpsServerEndpoint.HttpsServerEndpointImpl.HttpsServerConnection connection)
dispatch
public void dispatch(InboundRequest request)
- Description copied from interface:
RequestDispatcher
- Processes an inbound request.
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.
- Specified by:
dispatch
in interface RequestDispatcher
- Parameters:
request
- the InboundRequest
to use to read
the request data and write the response
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.