Package net.officefloor.server.ssl
Class SslSocketServicerFactory<R>
java.lang.Object
net.officefloor.server.ssl.SslSocketServicerFactory<R>
- All Implemented Interfaces:
RequestServicerFactory<R>,SocketServicerFactory<R>
public class SslSocketServicerFactory<R>
extends Object
implements SocketServicerFactory<R>, RequestServicerFactory<R>
- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionSslSocketServicerFactory(SSLContext sslContext, SocketServicerFactory<R> delegateSocketServicerFactory, RequestServicerFactory<R> delegateRequestServicerFactory, Executor executor) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptioncreateRequestServicer(SocketServicer<R> socketServicer) Creates theRequestServicerfor theSocketServicer.createSocketServicer(RequestHandler<R> requestHandler) Creates theSocketServicer.
-
Constructor Details
-
SslSocketServicerFactory
public SslSocketServicerFactory(SSLContext sslContext, SocketServicerFactory<R> delegateSocketServicerFactory, RequestServicerFactory<R> delegateRequestServicerFactory, Executor executor) Instantiate.- Parameters:
sslContext-SSLContext.delegateSocketServicerFactory- DelegateSocketServicerFactory.delegateRequestServicerFactory- DelegateRequestServicerFactory.executor-Executor.
-
-
Method Details
-
createSocketServicer
Description copied from interface:SocketServicerFactoryCreates theSocketServicer.- Specified by:
createSocketServicerin interfaceSocketServicerFactory<R>- Parameters:
requestHandler-RequestHandler.- Returns:
SocketServicer.
-
createRequestServicer
Description copied from interface:RequestServicerFactoryCreates theRequestServicerfor theSocketServicer.- Specified by:
createRequestServicerin interfaceRequestServicerFactory<R>- Parameters:
socketServicer-SocketServicer.- Returns:
RequestServicer.
-