faust.sacha.web.util
Class WebGlobal
java.lang.Object
|
+--faust.sacha.web.util.WebGlobal
- public final class WebGlobal
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_DEFAULT_PORT
public static final int HTTP_DEFAULT_PORT
- See Also:
- Constant Field Values
HTTPS_DEFAULT_PORT
public static final int HTTPS_DEFAULT_PORT
- See Also:
- Constant Field Values
PROTOCOL_DEFAULT
public static final java.lang.String PROTOCOL_DEFAULT
- See Also:
- Constant Field Values
PROTOCOL_LIST
public static final java.lang.String[] PROTOCOL_LIST
NON_HTTP_PROTOCOLS_LIST
public static final java.lang.String[] NON_HTTP_PROTOCOLS_LIST
REQUEST_METHOD_GET
public static final int REQUEST_METHOD_GET
- See Also:
- Constant Field Values
REQUEST_METHOD_HEAD
public static final int REQUEST_METHOD_HEAD
- See Also:
- Constant Field Values
REQUEST_METHOD_POST
public static final int REQUEST_METHOD_POST
- See Also:
- Constant Field Values
REQUEST_METHOD_DELETE
public static final int REQUEST_METHOD_DELETE
- See Also:
- Constant Field Values
DEFAULT_PORT
public static int DEFAULT_PORT
REQUEST_METHOD
public static int REQUEST_METHOD
URL_TYPE_FILE
public static final int URL_TYPE_FILE
- See Also:
- Constant Field Values
URL_TYPE_FOLDER
public static final int URL_TYPE_FOLDER
- See Also:
- Constant Field Values
DEBUG
public static boolean DEBUG
USER_AGENT
public static java.lang.String USER_AGENT
PROXY_HOST
public static java.lang.String PROXY_HOST
PROXY_PORT
public static int PROXY_PORT
HTTP_USER
public static java.lang.String HTTP_USER
HTTP_PASSWORD
public static java.lang.String HTTP_PASSWORD
FOLLOW_INSIDE_REDIRECT
public static boolean FOLLOW_INSIDE_REDIRECT
FOLLOW_OUTSIDE_REDIRECT
public static boolean FOLLOW_OUTSIDE_REDIRECT
MAX_REQUEST_DOWNLOAD
public static int MAX_REQUEST_DOWNLOAD
POTENTIAL_HTML_FILE_EXT
public static java.lang.String[] POTENTIAL_HTML_FILE_EXT
PROPERTY_FILE_NAME
public static final java.lang.String PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
PROPERTY_FOLDER
public static final java.lang.String PROPERTY_FOLDER
- See Also:
- Constant Field Values
PROPERTY_FILE_LOCATION
public static final java.lang.String PROPERTY_FILE_LOCATION
WebGlobal
public WebGlobal()
initProperties
public static void initProperties()
setDebug
public static void setDebug(boolean mode)
setUserAgent
public static void setUserAgent(java.lang.String userAgent)
followInsideRedirect
public static void followInsideRedirect(boolean redirect)
followOutsideRedirect
public static void followOutsideRedirect(boolean redirect)
setRequestMethod
public static void setRequestMethod(int requestMethod)
setTimeoutNbRetries
public static void setTimeoutNbRetries(int nb)
getTimeoutNbRetries
public static int getTimeoutNbRetries()
DEBUG_DUMP_OPTIONS
public static void DEBUG_DUMP_OPTIONS()
main
public static void main(java.lang.String[] args)