Searched refs:statusCode (Results 1 - 20 of 20) sorted by relevance

/glassfish-3.1.2/tests/osgi-javaee/osgi-web/common/
H A DReporter.java58 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 DApplicationDispatcherForward.java121 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 DStandardHostValve.java354 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 DPersistenceTestNG.java102 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 DBaseAdminConsoleTest.java149 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 DHttpServiceStatsProvider.java387 @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 DRequestProbeProvider.java68 @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 DRequestStatsProvider.java199 @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 DRequestFilterValve.java357 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 DErrorReportValve.java273 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 DLazyJerseyInterface.java68 void reportError(GrizzlyRequest req, GrizzlyResponse res, int statusCode, String msg); argument
H A DLazyJerseyInit.java173 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 DCachingResponseWrapper.java63 int statusCode = HttpCacheEntry.VALUE_NOT_SET; field in class:CachingResponseWrapper
314 this.statusCode = sc;
383 entry.statusCode = statusCode;
H A DHttpCacheEntry.java60 int statusCode; field in class:HttpCacheEntry
H A DCachingFilter.java299 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 DRestAdapter.java347 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 DCGIServlet.java1900 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 DPECoyoteConnector.java1210 * @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 DConnector.java1238 * @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 DWsUtil.java1313 int statusCode = 0;

Completed in 93 milliseconds