Class ProxyInformation
java.lang.Object
uk.ac.manchester.spinnaker.storage.ProxyInformation
public class ProxyInformation extends Object
Information about the proxy to allow connection.
-
Field Summary
Fields Modifier and Type Field Description @NotEmpty Map<String,String>
cookies
The cookies to use for authentication.@NotEmpty Map<String,String>
headers
The headers to use for authentication.@NotEmpty String
jobUrl
The URL of the job to connect to.@NotEmpty String
spallocUrl
The URL of the spalloc server to connect to. -
Constructor Summary
-
Method Summary
-
Field Details
-
spallocUrl
The URL of the spalloc server to connect to. -
jobUrl
The URL of the job to connect to. -
headers
The headers to use for authentication. -
cookies
The cookies to use for authentication.
-
-
Constructor Details
-
ProxyInformation
public ProxyInformation(String spallocUrl, String jobUrl, Map<String,String> headers, Map<String,String> cookies)Create a new instance.- Parameters:
spallocUrl
- The URL of the Spalloc server.jobUrl
- The URL of the job.headers
- The headers to use for authentication.cookies
- The cookies to use for authentication.
-