org.globus.gatekeeper.jobmanager.internal
Class JobManagerProtocol
java.lang.Object
org.globus.util.http.HTTPProtocol
org.globus.gatekeeper.jobmanager.internal.JobManagerProtocol
public class JobManagerProtocol
- extends HTTPProtocol
Fields inherited from class org.globus.util.http.HTTPProtocol |
CHUNKED, CHUNKING, CONNECTION, CONNECTION_CLOSE, CONTENT_LENGTH, CONTENT_TYPE, CRLF, HOST, HTTP_VERSION, LOCATION, METHOD, SERVER, USER_AGENT |
Methods inherited from class org.globus.util.http.HTTPProtocol |
createGETHeader, createHTTPHeader, createPUTHeader, ErrorReply, getBadRequestErrorReply, getErrorReply, getFileNotFoundErrorReply, getForbiddenErrorReply, getOKReply, getOKReply, getServerErrorReply |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobManagerProtocol
public JobManagerProtocol()
getInstance
public static JobManagerProtocol getInstance(String prot)
handleJobRequest
public JobRequestParser handleJobRequest(ServiceRequest request)
handleRequest
public void handleRequest(JobManagerService jobManager,
InputStream in)
throws IOException,
JobManagerException
- Throws:
IOException
JobManagerException
getErrorMessage
public String getErrorMessage(Exception e)
getRequestReply
public String getRequestReply(int status,
String jobManagerUrl)
getRequestReply
public String getRequestReply(int status,
int failureCode)
getStatusUpdateMessage
public String getStatusUpdateMessage(String callbackUrl,
String jobManagerUrl,
String host,
int status,
int failureCode)