com.webpieces.http2engine.api.server.Http2ServerEngineFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http2-engine Show documentation
Show all versions of http2-engine Show documentation
A re-usable asynchronous HTTP/2 parser
package com.webpieces.http2engine.api.server;
import com.webpieces.http2engine.api.client.InjectionConfig;
import com.webpieces.http2engine.impl.svr.Level1ServerEngine;
public class Http2ServerEngineFactory {
private InjectionConfig injectionConfig;
public Http2ServerEngineFactory(InjectionConfig injectionConfig) {
this.injectionConfig = injectionConfig;
}
public Http2ServerEngine createEngine(String logKey, ServerEngineListener listener) {
return new Level1ServerEngine(logKey, listener, injectionConfig);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy