View: Hide Browser | Browser on the left | Browser on the right | Dictionary
Report:General | Attributes | Operations

util
class WebGlobal

General
NameWebGlobal
Abstract  false
Leaftrue
Rootfalse
Activefalse
Ownerutil

Attributes
NameTypeInitial Value
 DEBUGboolean false 
 DEFAULT_PORTint HTTP_DEFAULT_PORT 
 FOLLOW_INSIDE_REDIRECTboolean false 
 FOLLOW_OUTSIDE_REDIRECTboolean false 
 HTTP_DEFAULT_PORTint 80 
 HTTP_PASSWORDString "" 
 HTTP_USERString "" 
 HTTPS_DEFAULT_PORTint 443 
 MAX_REQUEST_DOWNLOADint 1572864 
 POTENTIAL_HTML_FILE_EXTString {"htm","html","shtml","stm","pl","cfm","php","php3","mv","cgi","asp","css"} 
 PROPERTY_FILE_LOCATIONString PROPERTY_FOLDER+File.separator+PROPERTY_FILE_NAME 
 PROPERTY_FILE_NAMEString "webglobal.properties" 
 PROPERTY_FOLDERString "conf" 
 PROTOCOL_DEFAULTString "http://" 
 PROTOCOL_LISTString {"http://","https://","ftp://","telnet://","rmi://","ldap://","mailto:"} 
 PROXY_HOSTString "" 
 PROXY_PORTint 80 
 REQUEST_METHODint REQUEST_METHOD_GET 
 REQUEST_METHOD_DELETEint 
 REQUEST_METHOD_GETint 
 REQUEST_METHOD_HEADint 
 REQUEST_METHOD_POSTint 
 URL_TYPE_FILEint 
 URL_TYPE_FOLDERint 
 USER_AGENTString "Riding the Snake v1.3" 

Operations
NameReturn Type
 DEBUG_DUMP_OPTIONS() void 
 enableSSLDynamically() void 
 followInsideRedirect( redirect : boolean) void 
 followOutsideRedirect( redirect : boolean) void 
 getTimeoutNbRetries() int 
 initProperties() void 
 main( args : String) void 
 setDebug( mode : boolean) void 
 setRequestMethod( requestMethod : int) void 
 setTimeoutNbRetries( nb : int) void 
 setUserAgent( userAgent : String) void 
 WebGlobal()  


attribute DEBUG

General
NameDEBUG
OwnerWebGlobal
Type  boolean
Initial Value  false
Changeability  changeable
Visibility  public
Scope  classifier


attribute DEFAULT_PORT

General
NameDEFAULT_PORT
OwnerWebGlobal
Type  int
Initial Value  HTTP_DEFAULT_PORT
Changeability  changeable
Visibility  public
Scope  classifier


attribute FOLLOW_INSIDE_REDIRECT

General
NameFOLLOW_INSIDE_REDIRECT
OwnerWebGlobal
Type  boolean
Initial Value  false
Changeability  changeable
Visibility  public
Scope  classifier


attribute FOLLOW_OUTSIDE_REDIRECT

General
NameFOLLOW_OUTSIDE_REDIRECT
OwnerWebGlobal
Type  boolean
Initial Value  false
Changeability  changeable
Visibility  public
Scope  classifier


attribute HTTP_DEFAULT_PORT

General
NameHTTP_DEFAULT_PORT
OwnerWebGlobal
Type  int
Initial Value  80
Changeability  frozen
Visibility  public
Scope  classifier


attribute HTTP_PASSWORD

General
NameHTTP_PASSWORD
OwnerWebGlobal
Type  String
Initial Value  ""
Changeability  changeable
Visibility  public
Scope  classifier


attribute HTTP_USER

General
NameHTTP_USER
OwnerWebGlobal
Type  String
Initial Value  ""
Changeability  changeable
Visibility  public
Scope  classifier


attribute HTTPS_DEFAULT_PORT

General
NameHTTPS_DEFAULT_PORT
OwnerWebGlobal
Type  int
Initial Value  443
Changeability  frozen
Visibility  public
Scope  classifier


attribute MAX_REQUEST_DOWNLOAD

General
NameMAX_REQUEST_DOWNLOAD
OwnerWebGlobal
Type  int
Initial Value  1572864
Changeability  changeable
Visibility  public
Scope  classifier


attribute POTENTIAL_HTML_FILE_EXT

General
NamePOTENTIAL_HTML_FILE_EXT
OwnerWebGlobal
Type  String
Type Modifier  []
Initial Value  {"htm","html","shtml","stm","pl","cfm","php","php3","mv","cgi","asp","css"}
Changeability  changeable
Visibility  public
Scope  classifier


attribute PROPERTY_FILE_LOCATION

General
NamePROPERTY_FILE_LOCATION
OwnerWebGlobal
Type  String
Initial Value  PROPERTY_FOLDER+File.separator+PROPERTY_FILE_NAME
Changeability  frozen
Visibility  public
Scope  classifier


attribute PROPERTY_FILE_NAME

General
NamePROPERTY_FILE_NAME
OwnerWebGlobal
Type  String
Initial Value  "webglobal.properties"
Changeability  frozen
Visibility  public
Scope  classifier


attribute PROPERTY_FOLDER

General
NamePROPERTY_FOLDER
OwnerWebGlobal
Type  String
Initial Value  "conf"
Changeability  frozen
Visibility  public
Scope  classifier


attribute PROTOCOL_DEFAULT

General
NamePROTOCOL_DEFAULT
OwnerWebGlobal
Type  String
Initial Value  "http://"
Changeability  frozen
Visibility  public
Scope  classifier


attribute PROTOCOL_LIST

General
NamePROTOCOL_LIST
OwnerWebGlobal
Type  String
Type Modifier  []
Initial Value  {"http://","https://","ftp://","telnet://","rmi://","ldap://","mailto:"}
Changeability  frozen
Visibility  public
Scope  classifier


attribute PROXY_HOST

General
NamePROXY_HOST
OwnerWebGlobal
Type  String
Initial Value  ""
Changeability  changeable
Visibility  public
Scope  classifier


attribute PROXY_PORT

General
NamePROXY_PORT
OwnerWebGlobal
Type  int
Initial Value  80
Changeability  changeable
Visibility  public
Scope  classifier


attribute REQUEST_METHOD

General
NameREQUEST_METHOD
OwnerWebGlobal
Type  int
Initial Value  REQUEST_METHOD_GET
Changeability  changeable
Visibility  public
Scope  classifier


attribute REQUEST_METHOD_DELETE

General
NameREQUEST_METHOD_DELETE
OwnerWebGlobal
Type  int
Initial Value  4
Changeability  frozen
Visibility  public
Scope  classifier


attribute REQUEST_METHOD_GET

General
NameREQUEST_METHOD_GET
OwnerWebGlobal
Type  int
Initial Value  1
Changeability  frozen
Visibility  public
Scope  classifier


attribute REQUEST_METHOD_HEAD

General
NameREQUEST_METHOD_HEAD
OwnerWebGlobal
Type  int
Initial Value  2
Changeability  frozen
Visibility  public
Scope  classifier


attribute REQUEST_METHOD_POST

General
NameREQUEST_METHOD_POST
OwnerWebGlobal
Type  int
Initial Value  3
Changeability  frozen
Visibility  public
Scope  classifier


attribute URL_TYPE_FILE

General
NameURL_TYPE_FILE
OwnerWebGlobal
Type  int
Initial Value  1
Changeability  frozen
Visibility  public
Scope  classifier


attribute URL_TYPE_FOLDER

General
NameURL_TYPE_FOLDER
OwnerWebGlobal
Type  int
Initial Value  2
Changeability  frozen
Visibility  public
Scope  classifier


attribute USER_AGENT

General
NameUSER_AGENT
OwnerWebGlobal
Type  String
Initial Value  "Riding the Snake v1.3"
Changeability  changeable
Visibility  public
Scope  classifier


operation  DEBUG_DUMP_OPTIONS

General
NameDEBUG_DUMP_OPTIONS
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse


operation  enableSSLDynamically

General
NameenableSSLDynamically
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse


operation  followInsideRedirect

General
NamefollowInsideRedirect
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
redirectboolean  inout


parameter redirect

General
Name  redirect
Owner  followInsideRedirect
Type  boolean 
Direction Kind  inout


operation  followOutsideRedirect

General
NamefollowOutsideRedirect
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
redirectboolean  inout


parameter redirect

General
Name  redirect
Owner  followOutsideRedirect
Type  boolean 
Direction Kind  inout


operation  getTimeoutNbRetries

General
NamegetTimeoutNbRetries
OwnerWebGlobal
Stereotype  <<getter>>
Return Type  int 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse


operation  initProperties

General
NameinitProperties
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse


operation  main

General
Namemain
OwnerWebGlobal
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
argsString  inout


parameter args

General
Name  args
Owner  main
Type  String 
Type Modifier  []
Direction Kind  inout


operation  setDebug

General
NamesetDebug
OwnerWebGlobal
Stereotype  <<setter>>
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
modeboolean  inout


parameter mode

General
Name  mode
Owner  setDebug
Type  boolean 
Direction Kind  inout


operation  setRequestMethod

General
NamesetRequestMethod
OwnerWebGlobal
Stereotype  <<setter>>
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
requestMethodint  inout


parameter requestMethod

General
Name  requestMethod
Owner  setRequestMethod
Type  int 
Direction Kind  inout


operation  setTimeoutNbRetries

General
NamesetTimeoutNbRetries
OwnerWebGlobal
Stereotype  <<setter>>
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
nbint  inout


parameter nb

General
Name  nb
Owner  setTimeoutNbRetries
Type  int 
Direction Kind  inout


operation  setUserAgent

General
NamesetUserAgent
OwnerWebGlobal
Stereotype  <<setter>>
Return Type  void 
Concurrency  sequential
Query  false
Visibility  public
Scope  classifier
Abstract  false
Leaffalse
Rootfalse

Parameters
NameTypeDefault ValueDirection Kind
userAgentString  inout


parameter userAgent

General
Name  userAgent
Owner  setUserAgent
Type  String 
Direction Kind  inout


operation  WebGlobal

General
NameWebGlobal
OwnerWebGlobal
Stereotype  <<constructor>>
Concurrency  sequential
Query  false
Visibility  public
Scope  instance
Abstract  false
Leaffalse
Rootfalse