org.webpieces.webserver.impl.RequestInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-webserver Show documentation
Show all versions of http-webserver Show documentation
The full webpieces server AS A library
package org.webpieces.webserver.impl;
import org.webpieces.ctx.api.RouterRequest;
import org.webpieces.data.api.BufferPool;
import com.webpieces.hpack.api.dto.Http2Request;
public class RequestInfo {
private RouterRequest routerRequest;
private Http2Request request;
private BufferPool pool;
private ResponseOverrideSender responseSender;
public RequestInfo(RouterRequest routerRequest, Http2Request request, BufferPool pool, ResponseOverrideSender responseSender) {
this.routerRequest = routerRequest;
this.request = request;
this.pool = pool;
this.responseSender = responseSender;
}
public RouterRequest getRouterRequest() {
return routerRequest;
}
public Http2Request getRequest() {
return request;
}
public BufferPool getPool() {
return pool;
}
public ResponseOverrideSender getResponseSender() {
return responseSender;
}
}