org.globus.gatekeeper.internal
Class GateKeeperProtocol
java.lang.Object
org.globus.util.http.HTTPProtocol
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.
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 |
GateKeeperProtocol
public GateKeeperProtocol()
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