MockRenegotiationServer server = new MockRenegotiationServer(sslContext, false, 10001);
server.start();
}
public MockRenegotiationServer(SSLContext context, boolean certRequired, int port) throws IOException {
Allocator allocator = new FileAllocator();
ContainerProcessor processor = new ContainerProcessor(this, allocator, 4);
TransportGrabber grabber = new TransportGrabber(processor);
ProcessorServer processorServer = new ProcessorServer(grabber);
this.server = new ConfigurableCertificateServer(processorServer, certRequired);