public final class ConsoleRenderer extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
msg(String featureName,
String operationId)
Build info messages.
|
static String |
renderMessageBox(String message,
String type)
Display message box if message.
|
static String |
renderMsgGroup(String groupName,
String operationId)
Build info messages.
|
static String |
renderMsgProperty(String featureName,
String operationId)
Build info messages.
|
static void |
renderPage(FF4j ff4j,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String msg,
String msgType)
Render the ff4f console webpage through different block.
|
static void |
renderPageMonitoring(FF4j ff4j,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String msg,
String msgType)
Render the ff4f console webpage through different block.
|
static boolean |
renderResources(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deliver CSS and Javascript files/
|
static String |
renderValue(String source,
int column) |
public static void renderPage(FF4j ff4j, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String msg, String msgType) throws IOException
req - http request (with parameters)res - http response (with outouput test)message - text in the information box (blue/green/orange/red)messagetype - type of informatice message (info,success,warning,error)IOException - error during populating http responsepublic static void renderPageMonitoring(FF4j ff4j, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String msg, String msgType) throws IOException
req - http request (with parameters)res - http response (with outouput test)msg - text in the information box (blue/green/orange/red)msgType - type of informatice message (info,success,warning,error)IOException - error during populating http responsepublic static String msg(String featureName, String operationId)
featureName - target feature nameoperationId - target operationIdpublic static String renderMsgProperty(String featureName, String operationId)
featureName - target feature nameoperationId - target operationIdpublic static String renderMsgGroup(String groupName, String operationId)
groupName - target group nameoperationId - target operationIdpublic static boolean renderResources(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
req - requestres - responseIOException - exceptionspublic static String renderMessageBox(String message, String type)
message - target message to displaytype - type of messagesCopyright © 2013–2021 FF4J. All rights reserved.