Class HTTPProtocol
java.lang.Object
org.globus.util.http.HTTPProtocol
- Direct Known Subclasses:
GRAMProtocol
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateGETHeader(String path, String host, String user_agent) protected static StringcreateHTTPHeader(String service, String hostname, String application, StringBuffer msg) static StringcreatePUTHeader(String path, String host, String user_agent, String type, long length, boolean append) static StringErrorReply(int error, String msg) static Stringstatic StringgetErrorReply(int error, String message) static Stringstatic Stringstatic StringgetOKReply(String application) static StringgetOKReply(String application, String msg) static String
-
Field Details
-
CRLF
- See Also:
-
HTTP_VERSION
- See Also:
-
METHOD
- See Also:
-
HOST
- See Also:
-
CONTENT_LENGTH
- See Also:
-
CONTENT_TYPE
- See Also:
-
USER_AGENT
- See Also:
-
SERVER
- See Also:
-
CONNECTION
- See Also:
-
LOCATION
- See Also:
-
CHUNKED
- See Also:
-
CONNECTION_CLOSE
- See Also:
-
CHUNKING
- See Also:
-
-
Constructor Details
-
HTTPProtocol
public HTTPProtocol()
-
-
Method Details
-
createHTTPHeader
protected static String createHTTPHeader(String service, String hostname, String application, StringBuffer msg) -
createGETHeader
-
createPUTHeader
-
ErrorReply
-
getErrorReply
-
getBadRequestErrorReply
-
getFileNotFoundErrorReply
-
getServerErrorReply
-
getForbiddenErrorReply
-
getOKReply
-
getOKReply
-