public class HTTP2Connection extends Object
| Constructor and Description |
|---|
HTTP2Connection(String connectionId,
boolean isSSL) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStreamHandler(HTTP2StreamHandler http2StreamHandler) |
List<HTTP2SampleResult> |
awaitResponses() |
void |
connect(String hostname,
int port) |
void |
disconnect() |
String |
getConnectionId() |
boolean |
isClosed() |
void |
send(String method,
URL url,
org.apache.jmeter.protocol.http.control.HeaderManager headerManager,
org.apache.jmeter.protocol.http.control.CookieManager cookieManager,
RequestBody requestBody,
HTTP2SampleResult sampleResult,
int timeout) |
void |
setSession(org.eclipse.jetty.http2.api.Session session) |
public void setSession(org.eclipse.jetty.http2.api.Session session)
public String getConnectionId()
public void connect(String hostname, int port) throws InterruptedException, ExecutionException, TimeoutException
public boolean isClosed()
public void send(String method, URL url, org.apache.jmeter.protocol.http.control.HeaderManager headerManager, org.apache.jmeter.protocol.http.control.CookieManager cookieManager, RequestBody requestBody, HTTP2SampleResult sampleResult, int timeout) throws Exception
Exceptionpublic void addStreamHandler(HTTP2StreamHandler http2StreamHandler)
public List<HTTP2SampleResult> awaitResponses() throws InterruptedException
InterruptedExceptionCopyright © 2018. All rights reserved.