public interface WebClientAllocator
| Modifier and Type | Method and Description |
|---|---|
WebAllocatedResources |
allocateClient(java.lang.String[] requestParameters,
java.lang.String host,
java.lang.String uuid,
java.lang.String osUser)
Allocates the system resources for the new spawned web client.
|
void |
freeClient(java.lang.String uuid)
Releases the system resources for the web client given by uuid.
|
WebAllocatedResources allocateClient(java.lang.String[] requestParameters, java.lang.String host, java.lang.String uuid, java.lang.String osUser)
requestParameters - Holds additional parameters if they are provided. It is expected that the first
requestParameters[0] holds the forwarded host of "X-Forwarded-Host" HTTP header
and requestParameters[1] holds the corresponding forwarded protocol that is
provided by "X-Forwarded-Proto" value.host - The remote host for the spawned web clientuuid - The provided unique identifierosUser - The OS user namevoid freeClient(java.lang.String uuid)
uuid - The web client uuid