com.webpieces.http2engine.impl.client.Level3ClntIncomingSynchro 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.impl.client;
import org.webpieces.util.futures.XFuture;
import com.webpieces.http2.api.dto.highlevel.Http2Push;
import com.webpieces.http2.api.dto.highlevel.Http2Response;
import com.webpieces.http2engine.impl.shared.Level3IncomingSynchro;
import com.webpieces.http2engine.impl.shared.Level7MarshalAndPing;
import com.webpieces.http2engine.impl.shared.RemoteSettingsManagement;
public class Level3ClntIncomingSynchro extends Level3IncomingSynchro {
private Level4ClientPreconditions streams;
public Level3ClntIncomingSynchro(
Level4ClientPreconditions streamsLayer,
Level7MarshalAndPing notifyListener,
RemoteSettingsManagement remoteSettings,
Level8NotifyClntListeners finalLayer
) {
super(streamsLayer, notifyListener, remoteSettings);
streams = streamsLayer;
}
public XFuture sendResponseToApp(Http2Response msg) {
return streams.sendResponseToApp(msg);
}
public XFuture sendPushToApp(Http2Push msg) {
return streams.sendPushToApp(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy