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 java.lang.Object implements SocketServicerFactory<R>, RequestServicerFactory<R>
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SslSocketServicerFactory(javax.net.ssl.SSLContext sslContext, SocketServicerFactory<R> delegateSocketServicerFactory, RequestServicerFactory<R> delegateRequestServicerFactory, java.util.concurrent.Executor executor)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestServicer<R>createRequestServicer(SocketServicer<R> socketServicer)Creates theRequestServicerfor theSocketServicer.SocketServicer<R>createSocketServicer(RequestHandler<R> requestHandler)Creates theSocketServicer.
-
-
-
Constructor Detail
-
SslSocketServicerFactory
public SslSocketServicerFactory(javax.net.ssl.SSLContext sslContext, SocketServicerFactory<R> delegateSocketServicerFactory, RequestServicerFactory<R> delegateRequestServicerFactory, java.util.concurrent.Executor executor)Instantiate.- Parameters:
sslContext-SSLContext.delegateSocketServicerFactory- DelegateSocketServicerFactory.delegateRequestServicerFactory- DelegateRequestServicerFactory.executor-Executor.
-
-
Method Detail
-
createSocketServicer
public SocketServicer<R> createSocketServicer(RequestHandler<R> requestHandler)
Description copied from interface:SocketServicerFactoryCreates theSocketServicer.- Specified by:
createSocketServicerin interfaceSocketServicerFactory<R>- Parameters:
requestHandler-RequestHandler.- Returns:
SocketServicer.
-
createRequestServicer
public RequestServicer<R> createRequestServicer(SocketServicer<R> socketServicer)
Description copied from interface:RequestServicerFactoryCreates theRequestServicerfor theSocketServicer.- Specified by:
createRequestServicerin interfaceRequestServicerFactory<R>- Parameters:
socketServicer-SocketServicer.- Returns:
RequestServicer.
-
-