| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpString | |
| private final MCMPConfig | |
| protected final ModClusterContainer | |
| private static final String | |
| private final long | |
| public static final HttpString | |
| public static final HttpString | |
| public static final HttpString | |
| private static final Set | |
| public static final HttpString | |
| protected static final String | |
| private final ModCluster | |
| private final HttpHandler | |
| private final FormParserFactory | |
| public static final HttpString | |
| public static final HttpString | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| public static final HttpString | |
| public static final HttpString | |
| private static final String | |
| protected static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkHostUp(final String
the scheme scheme, final String the host host, final int the port port, final HttpServerExchange the http server exchange exchange, final NodePingUtil.the ping callback callbackCheck whether a host is up. |
| pack-priv static boolean | |
| private static void | |
| public void | handleRequest(HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| protected void | handleRequest(final HttpString
the http method method, HttpServerExchange the http server exchange exchange)Handle a management+ request. |
| protected boolean | |
| pack-priv MCMPHandler. | parseFormData(final HttpServerExchange
the http server exchange exchange)Transform the form data into an intermediate request data which can me used by the web manager |
| pack-priv void | processAppCommand(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestData,the mgmt action actionProcess a command targeting an application. |
| pack-priv void | processCommand(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestData,the mgmt action actionProcess a mod_cluster mgmt command. |
| private void | processConfig(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestDataProcess the node config. |
| protected void | |
| protected String | |
| pack-priv static void | |
| pack-priv static void | processError(String
the error type type, String the error string errString, HttpServerExchange the http server exchange exchange)Send an error message. |
| protected void | |
| protected String | |
| pack-priv void | processNodeCommand(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestData,the mgmt action actionProcess a mgmt command targeting a node. |
| pack-priv boolean | |
| pack-priv static void | processOK(HttpServerExchange exchange)
If the process is OK, then add 200 HTTP status and its "OK" phrase |
| pack-priv void | processPing(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestDataProcess the ping request. |
| pack-priv void | processStatus(final HttpServerExchange
the http server exchange exchange, final MCMPHandler.the request data requestDataProcess the status request. |
| pack-priv static void | sendResponse(final HttpServerExchange
the http server exchange exchange, final String the response string response)Send a simple response string. |
| CONFIG | back to summary |
|---|---|
| public static final HttpString CONFIG | |
| config | back to summary |
|---|---|
| private final MCMPConfig config | |
| container | back to summary |
|---|---|
| protected final ModClusterContainer container | |
| CONTENT_TYPE | back to summary |
|---|---|
| private static final String CONTENT_TYPE | |
| creationTime | back to summary |
|---|---|
| private final long creationTime | |
| DISABLE_APP | back to summary |
|---|---|
| public static final HttpString DISABLE_APP | |
| DUMP | back to summary |
|---|---|
| public static final HttpString DUMP | |
| ENABLE_APP | back to summary |
|---|---|
| public static final HttpString ENABLE_APP | |
| HANDLED_METHODS | back to summary |
|---|---|
| private static final Set<HttpString> HANDLED_METHODS | |
| INFO | back to summary |
|---|---|
| public static final HttpString INFO | |
| MOD_CLUSTER_EXPOSED_VERSION | back to summary |
|---|---|
| protected static final String MOD_CLUSTER_EXPOSED_VERSION | |
| modCluster | back to summary |
|---|---|
| private final ModCluster modCluster | |
| next | back to summary |
|---|---|
| private final HttpHandler next | |
| parserFactory | back to summary |
|---|---|
| private final FormParserFactory parserFactory | |
| PING | back to summary |
|---|---|
| public static final HttpString PING | |
| REMOVE_APP | back to summary |
|---|---|
| public static final HttpString REMOVE_APP | |
| SBADFLD | back to summary |
|---|---|
| private static final String SBADFLD | |
| SBADFLD1 | back to summary |
|---|---|
| private static final String SBADFLD1 | |
| SCONBAD | back to summary |
|---|---|
| private static final String SCONBAD | |
| SMISFLD | back to summary |
|---|---|
| private static final String SMISFLD | |
| STATUS | back to summary |
|---|---|
| public static final HttpString STATUS | |
| STOP_APP | back to summary |
|---|---|
| public static final HttpString STOP_APP | |
| TYPESYNTAX | back to summary |
|---|---|
| private static final String TYPESYNTAX | |
| VERSION_PROTOCOL | back to summary |
|---|---|
| protected static final String VERSION_PROTOCOL | |
| MCMPHandler | back to summary |
|---|---|
| pack-priv MCMPHandler(MCMPConfig config, ModCluster modCluster, HttpHandler next) | |
| checkHostUp | back to summary |
|---|---|
| protected void checkHostUp(final String scheme, final String host, final int port, final HttpServerExchange exchange, final NodePingUtil. Check whether a host is up.
| |
| checkString | back to summary |
|---|---|
| pack-priv static boolean checkString(final String value) | |
| checkStringForSuspiciousCharacters | back to summary |
|---|---|
| private static void checkStringForSuspiciousCharacters(String data) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| handleRequest | back to summary |
|---|---|
| protected void handleRequest(final HttpString method, HttpServerExchange exchange) throws Exception Handle a management+ request.
| |
| handlesMethod | back to summary |
|---|---|
| protected boolean handlesMethod(HttpString method) | |
| parseFormData | back to summary |
|---|---|
| pack-priv MCMPHandler. Transform the form data into an intermediate request data which can me used by the web manager
| |
| processAppCommand | back to summary |
|---|---|
| pack-priv void processAppCommand(final HttpServerExchange exchange, final MCMPHandler. Process a command targeting an application.
| |
| processCommand | back to summary |
|---|---|
| pack-priv void processCommand(final HttpServerExchange exchange, final MCMPHandler. Process a mod_cluster mgmt command.
| |
| processConfig | back to summary |
|---|---|
| private void processConfig(final HttpServerExchange exchange, final MCMPHandler. Process the node config.
| |
| processDump | back to summary |
|---|---|
| protected void processDump(HttpServerExchange exchange) throws IOException Process DUMP request | |
| processDumpString | back to summary |
|---|---|
| protected String processDumpString() | |
| processError | back to summary |
|---|---|
| pack-priv static void processError(MCMPErrorCode errorCode, HttpServerExchange exchange) | |
| processError | back to summary |
|---|---|
| pack-priv static void processError(String type, String errString, HttpServerExchange exchange) Send an error message.
| |
| processInfo | back to summary |
|---|---|
| protected void processInfo(HttpServerExchange exchange) throws IOException Process INFO request | |
| processInfoString | back to summary |
|---|---|
| protected String processInfoString() | |
| processNodeCommand | back to summary |
|---|---|
| pack-priv void processNodeCommand(final HttpServerExchange exchange, final MCMPHandler. Process a mgmt command targeting a node.
| |
| processNodeCommand | back to summary |
|---|---|
| pack-priv boolean processNodeCommand(final String jvmRoute, final MCMPHandler. | |
| processOK | back to summary |
|---|---|
| pack-priv static void processOK(HttpServerExchange exchange) throws IOException If the process is OK, then add 200 HTTP status and its "OK" phrase | |
| processPing | back to summary |
|---|---|
| pack-priv void processPing(final HttpServerExchange exchange, final MCMPHandler. Process the ping request.
| |
| processStatus | back to summary |
|---|---|
| pack-priv void processStatus(final HttpServerExchange exchange, final MCMPHandler. Process the status request.
| |
| sendResponse | back to summary |
|---|---|
| pack-priv static void sendResponse(final HttpServerExchange exchange, final String response) Send a simple response string.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final MCMPHandler. | |
| public static final MCMPHandler. | |
| public static final MCMPHandler. | |
| public static final MCMPHandler. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MCMPHandler. | |
| public static MCMPHandler. |
| DISABLE | back to summary |
|---|---|
| public static final MCMPHandler. | |
| ENABLE | back to summary |
|---|---|
| public static final MCMPHandler. | |
| REMOVE | back to summary |
|---|---|
| public static final MCMPHandler. | |
| STOP | back to summary |
|---|---|
| public static final MCMPHandler. | |
| MCMPAction | back to summary |
|---|---|
| private MCMPAction() | |
| valueOf | back to summary |
|---|---|
| public static MCMPHandler. | |
| values | back to summary |
|---|---|
| public static MCMPHandler. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv String | |
| pack-priv Iterator |
| values | back to summary |
|---|---|
| private final Map<HttpString, Deque<String>> values | |
| RequestData | back to summary |
|---|---|
| pack-priv RequestData() | |
| add | back to summary |
|---|---|
| pack-priv void add(final HttpString name, Deque<FormData. | |
| add | back to summary |
|---|---|
| pack-priv void add(final HttpString name, final FormData. | |
| addValues | back to summary |
|---|---|
| pack-priv void addValues(final HttpString name, Deque<String> value) | |
| getFirst | back to summary |
|---|---|
| pack-priv String getFirst(HttpString name) | |
| iterator | back to summary |
|---|---|
| pack-priv Iterator | |