Search in sources :

Example 6 with FullRequest

use of org.webpieces.http2client.api.dto.FullRequest in project webpieces by deanhiller.

the class Requests method createHttp2Request.

public static FullRequest createHttp2Request() {
    FullRequest req = new FullRequest();
    req.setHeaders(createRequest());
    req.setPayload(dataGen.wrapByteArray(new byte[] { 3, 4 }));
    return req;
}
Also used : FullRequest(org.webpieces.http2client.api.dto.FullRequest)

Aggregations

FullRequest (org.webpieces.http2client.api.dto.FullRequest)6 FullResponse (org.webpieces.http2client.api.dto.FullResponse)5 Test (org.junit.Test)4 Http2Response (com.webpieces.hpack.api.dto.Http2Response)3 DataFrame (com.webpieces.http2parser.api.dto.DataFrame)3 Http2Trailers (com.webpieces.hpack.api.dto.Http2Trailers)2 Http2Msg (com.webpieces.http2parser.api.dto.lib.Http2Msg)2 Http2Headers (com.webpieces.hpack.api.dto.Http2Headers)1 Http2Request (com.webpieces.hpack.api.dto.Http2Request)1 StreamHandle (com.webpieces.http2engine.api.StreamHandle)1 Http2ClientEngine (com.webpieces.http2engine.api.client.Http2ClientEngine)1 Http2ClientEngineFactory (com.webpieces.http2engine.api.client.Http2ClientEngineFactory)1 InetSocketAddress (java.net.InetSocketAddress)1 CompletableFuture (java.util.concurrent.CompletableFuture)1 DataWrapper (org.webpieces.data.api.DataWrapper)1 Http2Socket (org.webpieces.http2client.api.Http2Socket)1 MockResponseListener (org.webpieces.http2client.mock.MockResponseListener)1 TCPChannel (org.webpieces.nio.api.channels.TCPChannel)1 Logger (org.webpieces.util.logging.Logger)1 LoggerFactory (org.webpieces.util.logging.LoggerFactory)1