1 19 20 package org.netbeans.modules.web.monitor.data; 21 22 public class Constants { 23 24 public static class Files { 25 26 public final static String log = "log"; public final static String client = "client.data"; public final static String request = "request.data"; public final static String session = "session.data"; public final static String cookies = "cookies.data"; public final static String servletProps = "environ.data"; public final static String all = "all.data"; public final static String replay = "saved.obj"; 35 public final static String monitor = "monitor"; public final static String save = "save"; public final static String current = "current"; public final static String blank = "blank"; public final static String getall = "getall"; public final static String delete = "delete"; } 42 43 public static class Comm { 44 public final static String ACK = "ACK"; public final static String END = "END"; public final static String ERROR = "ERROR"; public final static String ATT = "bvhE12xSa"; } 49 50 public static class Labels { 51 52 public final static String id = "id"; public final static String uri = "uri"; public final static String invoker = "invoker"; public final static String resend = "resend_ffj"; public final static String current = "current_ffj"; public final static String port = "port"; } 59 60 public static class Context { 61 public final static String monitorDir = "/monitor/"; public final static String monitorContextName = "/monitor_ffj"; } 64 65 public static class Http { 66 67 public final static String POST = "POST"; public final static String GET = "GET"; public final static String PUT = "PUT"; public final static String DELETE = "DELETE"; 72 public final static String HEAD = "HEAD"; public final static String mimeHTML = "text/html"; public final static String mimeTEXT = "text/plain"; 76 public final static String userAgent = "user-agent"; public final static String accept = "accept"; public final static String acceptCharset = "accept-charset"; public final static String acceptEncoding = "accept-encoding"; public final static String acceptLang = "accept-language"; public final static String referer = "referer"; } 83 84 public static class Html { 85 86 public final static String startHtml = "<HTML>\n"; public final static String endHtml = "</HTML>\n"; 90 public final static String startBodyNetbeans = 91 "<body text=\"#000000\" bgcolor=\"#CCCCCC\" link=\"#0000EE\" vlink=\"#551A8B\" alink=\"#FF0000\">\n<table with=\"400\">\n<tr><td>\n"; 93 public final static String endBodyNetbeans = 94 "</td></tr></table></body>"; 96 public final static String replayURL = "http://{0}:{1}{2}?resend_ffj={3}¤t_ffj={4}"; public final static String par = "<p></p>\n"; public final static String hr = "<hr>\n"; public final static String br = "<br>\n"; public final static String bold = "<b>{0}</b><br>\n"; 103 public final static String startTable2 = 105 "<table border=\"1\" cellspacing=\"0\" cellpadding=\"1\" cols=\"2\" width=\"400\" bgcolor=\"#C0C0C0\" >\n"; 107 108 public final static String startTable4 = 109 "<table border=\"1\" cellspacing=\"0\" cellpadding=\"1\" cols=\"4\" width=\"400\" bgcolor=\"#C0C0C0\" >\n"; 111 public final static String endTable = "</table>\n"; public final static String itemString = 113 "<tr><td width=\"170\">{0}</td><td width=\"210\">{1}</td></tr>\n"; public final static String itemStringTwo = 115 "<tr><td width=\"60\">{0}</td><td width=\"80\">{1}</td><td width=\"60\">{2}</td><td width=\"180\">{3}</td></tr>\n"; 117 } 118 119 public static class Punctuation { 120 121 public final static String newLine = "\n"; public final static String tab = "\t"; public final static String itemSep = "|"; public final static String slash = "/"; } 126 127 } 129 130 131 132 133 134 135 136 | Popular Tags |