org.globus.gatekeeper.internal
Class GateKeeperProtocol

java.lang.Object
  extended by org.globus.util.http.HTTPProtocol
      extended by org.globus.gatekeeper.internal.GateKeeperProtocol

public class GateKeeperProtocol
extends HTTPProtocol

This is the class responsible for preparing messages before they are sent to the client using the HTTP protocol known as the GateKeeper Protocol. GateKeeperProtocol implements ProtocolSend, which is an interface used by the GateKeeper to send messages to client independant of the implementation.


Field Summary
 
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
 
Constructor Summary
GateKeeperProtocol()
           
 
Method Summary
 String getErrorMessage(Exception e)
           
static GateKeeperProtocol getInstance(String prot)
           
 String getPingSuccessMessage()
           
 GateKeeperRequest parseRequest(InputStream in)
           
 
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
 

Constructor Detail

GateKeeperProtocol

public GateKeeperProtocol()
Method Detail

getInstance

public static GateKeeperProtocol getInstance(String prot)

getErrorMessage

public String getErrorMessage(Exception e)

getPingSuccessMessage

public String getPingSuccessMessage()

parseRequest

public GateKeeperRequest parseRequest(InputStream in)
                               throws IOException,
                                      GateKeeperException
Throws:
IOException
GateKeeperException