|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.server.monitor.api.http.HttpMonitorUtil
public class HttpMonitorUtil
This HttpMonitorUtil class is used to offer service supports for JSP HTTP page.
| Field Summary | |
|---|---|
static java.lang.String |
AUTH_SCHEME_BASIC
Property of Basic Authenticator. |
| Constructor Summary | |
|---|---|
HttpMonitorUtil()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String AUTH_SCHEME_BASIC
| Constructor Detail |
|---|
public HttpMonitorUtil()
| Method Detail |
|---|
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 -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||