All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hyperfoil.http.api.HttpDestinationTable Maven / Gradle / Ivy

There is a newer version: 0.27.1
Show newest version
package io.hyperfoil.http.api;

import io.hyperfoil.api.session.Session;

/**
 * Manages all {@link HttpConnectionPool http connection pools} for sessions in single executor.
 */
public interface HttpDestinationTable extends Session.Resource {
   Session.ResourceKey KEY = new Session.ResourceKey<>() {};

   HttpConnectionPool getConnectionPool(String authority);

   String[] authorities();

   byte[][] authorityBytes();

   boolean hasSingleDestination();

   static HttpDestinationTable get(Session session) {
      return session.getResource(KEY);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy