com.davfx.ninio.common.SslReadyFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ninio Show documentation
Show all versions of ninio Show documentation
A Java NIO HTTP client/server as light as possible
package com.davfx.ninio.common;
public final class SslReadyFactory implements ReadyFactory {
private final Trust trust;
public SslReadyFactory(Trust trust) {
this.trust = trust;
}
@Override
public Ready create(Queue queue) {
return new QueueReady(queue, new SslReady(trust, queue.allocator(), new SocketReady(queue.getSelector(), queue.allocator())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy