Package io.gatling.http.client.impl
Class DefaultHttpClient
java.lang.Object
io.gatling.http.client.impl.DefaultHttpClient
- All Implemented Interfaces:
HttpClient
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
flushClientIdChannels
(long clientId, io.netty.channel.EventLoop eventLoop) boolean
isClosed()
void
sendHttp2Requests
(Pair<Request, HttpListener>[] requestsAndListeners, long clientId, io.netty.channel.EventLoop eventLoop, SslContextsHolder sslContextsHolder) void
sendRequest
(Request request, long clientId, io.netty.channel.EventLoop eventLoop, HttpListener listener, SslContextsHolder sslContextsHolder)
-
Field Details
-
HTTP_CLIENT_CODEC
- See Also:
-
APP_HTTP_HANDLER
- See Also:
-
-
Constructor Details
-
DefaultHttpClient
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
sendRequest
public void sendRequest(Request request, long clientId, io.netty.channel.EventLoop eventLoop, HttpListener listener, SslContextsHolder sslContextsHolder) - Specified by:
sendRequest
in interfaceHttpClient
-
sendHttp2Requests
public void sendHttp2Requests(Pair<Request, HttpListener>[] requestsAndListeners, long clientId, io.netty.channel.EventLoop eventLoop, SslContextsHolder sslContextsHolder) - Specified by:
sendHttp2Requests
in interfaceHttpClient
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceHttpClient
-
flushClientIdChannels
public void flushClientIdChannels(long clientId, io.netty.channel.EventLoop eventLoop) - Specified by:
flushClientIdChannels
in interfaceHttpClient
-