Package org.apache.any23.http
Interface HTTPClientConfiguration
-
- All Known Implementing Classes:
DefaultHTTPClientConfiguration
public interface HTTPClientConfiguration
Defines theHTTPClient
configuration.- Author:
- Michele Mostarda (mostarda@fbk.eu)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAcceptHeader()
int
getDefaultTimeout()
int
getMaxConnections()
String
getUserAgent()
-
-
-
Method Detail
-
getUserAgent
String getUserAgent()
- Returns:
- the User Agent to be used for retrieving HTTP contents.
-
getAcceptHeader
String getAcceptHeader()
- Returns:
- the accept header value.
-
getDefaultTimeout
int getDefaultTimeout()
- Returns:
- the default timeout in milliseconds.
-
getMaxConnections
int getMaxConnections()
- Returns:
- number of max concurrent connections.
-
-