Class ApacheHttpClient5EdgeGridRoutePlanner
java.lang.Object
com.akamai.edgegrid.signer.apachehttpclient5.ApacheHttpClient5EdgeGridRoutePlanner
- All Implemented Interfaces:
org.apache.hc.client5.http.routing.HttpRoutePlanner
@Contract(threading=STATELESS)
public class ApacheHttpClient5EdgeGridRoutePlanner
extends Object
implements org.apache.hc.client5.http.routing.HttpRoutePlanner
Apache HTTP Client binding for EdgeGrid route planner for computing
HttpRoute.-
Constructor Summary
ConstructorsConstructorDescriptionApacheHttpClient5EdgeGridRoutePlanner(ClientCredential clientCredential) Creates an EdgeGrid route planner usingClientCredential. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.HttpRoutedetermineRoute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context)
-
Constructor Details
-
ApacheHttpClient5EdgeGridRoutePlanner
Creates an EdgeGrid route planner usingClientCredential.- Parameters:
clientCredential- aClientCredential
-
-
Method Details
-
determineRoute
public org.apache.hc.client5.http.HttpRoute determineRoute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException - Specified by:
determineRoutein interfaceorg.apache.hc.client5.http.routing.HttpRoutePlanner- Throws:
org.apache.hc.core5.http.HttpException
-