/glassfish-3.1.2/tests/osgi-javaee/osgi-web/common/ |
H A D | Reporter.java | 58 public static String[] statusCode = {"Passed", "BuildFailure", "DeploymentFailure", "RuntimeFailure"}; field in class:Reporter 106 out.write(testName + " :: " + statusCode[code] + "\n"); 126 if(line.contains(statusCode[PASS])) { 129 } else if(line.contains(statusCode[BUILDFAIL])) { 132 } else if(line.contains(statusCode[DEPLOYMENTFAIL])) { 135 } else if(line.contains(statusCode[RUNTIMEFAIL])) { 144 out.write(statusCode[i] + " : " + testSummary[i].size() + "\n");
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/ |
H A D | ApplicationDispatcherForward.java | 121 int statusCode = hres.getStatus(); 130 statusCode >= 400 && exception == null) { 132 responseFacade, context, wrapper, statusCode); 144 responseFacade, statusCode); 152 if (statusCode < 400 178 int statusCode) { 190 ErrorPage errorPage = context.findErrorPage(statusCode); 207 statusCode, 213 statusCode); 217 serveErrorPage(response, errorPage, statusCode); 173 status(HttpServletRequest request, HttpServletResponse response, ResponseFacade responseFacade, Context context, Wrapper wrapper, int statusCode) argument 291 serveErrorPage(HttpServletResponse response, ErrorPage errorPage, int statusCode) argument 345 serveDefaultErrorPage(HttpServletRequest request, HttpServletResponse response, ResponseFacade responseFacade, int statusCode) argument [all...] |
H A D | StandardHostValve.java | 354 int statusCode = ((HttpResponse) response).getStatus(); 355 ErrorPage errorPage = context.findErrorPage(statusCode); 358 statusCode); 359 } else if (statusCode >= 400 && statusCode < 600 && 362 context.getDefaultErrorPage(), null, null, statusCode); 367 statusCode); 370 handleHostErrorPage(response, errorPage, statusCode); 453 int statusCode = statusCodeObj.intValue(); 456 hres.setStatus(statusCode, messag 533 handleHostErrorPage(Response response, ErrorPage errorPage, int statusCode) argument 630 dispatchToErrorPage(Request request, Response response, ErrorPage errorPage, Throwable throwable, Throwable realError, int statusCode) argument [all...] |
/glassfish-3.1.2/tests/community/persistence/servlet-jpa-app/src/test/ |
H A D | PersistenceTestNG.java | 102 int statusCode = httpclient.executeMethod(method); 103 if (statusCode != HttpStatus.SC_OK) { 106 System.out.println("print status ok "+statusCode); 150 int statusCode = httpclient.executeMethod(method); 151 if (statusCode != HttpStatus.SC_OK) { 154 System.out.println("print status ok "+statusCode); 198 int statusCode = httpclient.executeMethod(method); 199 if (statusCode != HttpStatus.SC_OK) { 202 System.out.println("print status ok "+statusCode); 249 int statusCode [all...] |
/glassfish-3.1.2/tests/quicklook/adminconsole/src/test/admin/ |
H A D | BaseAdminConsoleTest.java | 149 int statusCode = client.executeMethod(post); 150 if (statusCode == 302) { 157 } else if (statusCode != HttpStatus.SC_OK) { 158 Assert.fail("Login failed: " + post.getStatusLine() + ": " + statusCode); 209 int statusCode = client.executeMethod(get); 211 if ((statusCode != HttpStatus.SC_OK) && (statusCode != HttpStatus.SC_ACCEPTED) ) { 212 Assert.fail("BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status Code: " + statusCode);
|
/glassfish-3.1.2/web/admin/src/main/java/org/glassfish/web/admin/monitor/ |
H A D | HttpServiceStatsProvider.java | 387 @ProbeParam("statusCode") int statusCode) { 392 incrementStatsCounter(statusCode); 399 statusCode + " :Response time = " + 448 private void incrementStatsCounter(int statusCode) { argument 449 switch (statusCode) { 478 if (200 <= statusCode && statusCode <=299) { 480 } else if (300 <= statusCode && statusCode < 380 requestEndEvent( @robeParam�) String appName, @ProbeParam(�) String hostName, @ProbeParam(�) String serverName, @ProbeParam(�) int serverPort, @ProbeParam(�) String contextPath, @ProbeParam(�) String servletPath, @ProbeParam(�) int statusCode) argument [all...] |
H A D | RequestProbeProvider.java | 68 @ProbeParam("statusCode") int statusCode) {} 61 requestEndEvent( @robeParam�) String appName, @ProbeParam(�) String hostName, @ProbeParam(�) String serverName, @ProbeParam(�) int serverPort, @ProbeParam(�) String contextPath, @ProbeParam(�) String servletPath, @ProbeParam(�) int statusCode) argument
|
H A D | RequestStatsProvider.java | 199 @ProbeParam("statusCode") int statusCode) { 206 statusCode + " : Expecting (vsName, appName) = (" + 220 if (statusCode >= 400) { 230 " :Response code = " + statusCode); 238 if (statusCode >= 400) { 248 statusCode); 192 requestEndEvent( @robeParam�) String appName, @ProbeParam(�) String hostName, @ProbeParam(�) String serverName, @ProbeParam(�) int serverPort, @ProbeParam(�) String contextPath, @ProbeParam(�) String servletPath, @ProbeParam(�) int statusCode) argument
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/valves/ |
H A D | RequestFilterValve.java | 357 private void handleError(Request request, Response response, int statusCode) argument 364 ErrorPage errorPage = ((StandardHost)getContainer()).findErrorPage(statusCode); 367 hres.setStatus(statusCode); 395 hres.sendError(statusCode);
|
H A D | ErrorReportValve.java | 273 int statusCode = hresponse.getStatus(); 277 if (statusCode < 400 || (response.getContentCount() > 0)) 307 report = sm.getString("http." + statusCode, message); 310 report = sm.getString("http." + statusCode, message, 319 String errorPage = makeErrorPage(statusCode, message, 397 public static String makeErrorPage(int statusCode, argument 433 "" + statusCode, message)).append("</h1>"); 437 "" + statusCode, message,
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/ |
H A D | LazyJerseyInterface.java | 68 void reportError(GrizzlyRequest req, GrizzlyResponse res, int statusCode, String msg); argument
|
H A D | LazyJerseyInit.java | 173 public void reportError(GrizzlyRequest req, GrizzlyResponse res, int statusCode, String msg) { argument 193 res.setStatus(statusCode);
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/ |
H A D | CachingResponseWrapper.java | 63 int statusCode = HttpCacheEntry.VALUE_NOT_SET; field in class:CachingResponseWrapper 314 this.statusCode = sc; 383 entry.statusCode = statusCode;
|
H A D | HttpCacheEntry.java | 60 int statusCode; field in class:HttpCacheEntry
|
H A D | CachingFilter.java | 299 if (entry.statusCode != HttpCacheEntry.VALUE_NOT_SET) { 300 response.setStatus(entry.statusCode);
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/adapter/ |
H A D | RestAdapter.java | 347 private void reportError(GrizzlyRequest req, GrizzlyResponse res, int statusCode, String msg) { argument 350 getLazyJersey().reportError(req, res, statusCode, msg);
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/ |
H A D | CGIServlet.java | 1900 int statusCode; 1902 statusCode = Integer.parseInt(status); 1909 return statusCode; 1929 int statusCode; 1931 statusCode = Integer.parseInt(status); 1938 return statusCode;
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/connector/coyote/ |
H A D | PECoyoteConnector.java | 1210 * @param statusCode the response status code 1214 Context context, int statusCode) { 1228 statusCode); 1213 requestEndEvent(HttpServletRequest request, Host host, Context context, int statusCode) argument
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
H A D | Connector.java | 1238 * @param statusCode the response status code 1241 Context context, int statusCode) { 1240 requestEndEvent(HttpServletRequest request, Host host, Context context, int statusCode) argument
|
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/ |
H A D | WsUtil.java | 1313 int statusCode = 0;
|