1 20 package org.apache.cactus.framework.internal.orchestrator.handlers; 21 22 import java.io.IOException ; 23 24 import org.mortbay.http.HttpException; 25 import org.mortbay.http.HttpRequest; 26 import org.mortbay.http.HttpResponse; 27 import org.mortbay.http.handler.AbstractHttpHandler; 28 29 public class GetResultHandler extends AbstractHttpHandler 30 { 31 public static String PATH_IN_CONTEXT = "/getresult"; 32 33 public void handle(String pathInContext, String pathParams, 34 HttpRequest request, HttpResponse response) 35 throws HttpException, IOException 36 { 37 if (PATH_IN_CONTEXT.equals(pathInContext)) 38 { 39 request.setHandled(true); 40 } 41 } 42 } 43 | Popular Tags |