public class HttpMonitorUtil
extends java.lang.Object
HttpMonitorUtil
class is used to offer service supports for JSP HTTP page.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTH_SCHEME_BASIC
Property of Basic Authenticator.
|
Constructor and Description |
---|
HttpMonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encodeEsc(java.lang.String str)
Encodes the URL string (i.e.
|
static java.lang.String |
getActiveRealm()
Gets currently active realm in Report Server.
|
static HttpMonitorServer |
getHttpMonitorServer()
Gets current
HttpMonitorServer reference. |
static java.lang.String |
getMonitorCounterName()
Gets Monitor Counter's name.
|
static java.lang.String |
getMonitorServerHostName()
Gets this Monitor Server's located host name.
|
static java.lang.String |
getMonitorServerRMIPort()
Gets this Monitor Server's RMI Port number.
|
static boolean |
getShowVirtualApplianceWelcomePage()
Judges whether or not Monitor Server displays virtual appliance welcome page.
|
static java.lang.String |
getUser(javax.servlet.http.HttpServletRequest req)
Gets user name from the request.
|
static boolean |
isAdminServerStarted()
Judges whether or not the Admin Server is starting now.
|
static boolean |
isInternalHttpServer()
Judges whether or not Monitor Server uses an internal Http Server.
|
static void |
setShowVirtualApplianceWelcomePage(boolean enable)
Sets whether or not Monitor Server displays virtual appliance welcome page.
|
static void |
shutdownMonitorServer()
Shuts down the Monitor Server.
|
public static final java.lang.String AUTH_SCHEME_BASIC
public static HttpMonitorServer getHttpMonitorServer()
HttpMonitorServer
reference.HttpMonitorServer
.public static java.lang.String getActiveRealm()
public static java.lang.String encodeEsc(java.lang.String str)
str
- The URL address string.public static java.lang.String getMonitorServerHostName()
public static java.lang.String getMonitorServerRMIPort()
public static java.lang.String getMonitorCounterName()
MonitorCounter
object.public static void shutdownMonitorServer()
public static java.lang.String getUser(javax.servlet.http.HttpServletRequest req)
req,
- The HttpServletRequest
reference.public static boolean isAdminServerStarted()
public static boolean isInternalHttpServer()
public static boolean getShowVirtualApplianceWelcomePage()
public static void setShowVirtualApplianceWelcomePage(boolean enable)
enable
-