Package org.globus.util.http
Class HttpResponse
java.lang.Object
org.globus.util.http.HttpResponse
- Direct Known Subclasses:
GatekeeperReply
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
boolean
long
int
protected InputStream
private static org.apache.commons.logging.Log
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static org.apache.commons.logging.Log logger -
input
-
charsRead
protected long charsRead -
httpType
-
httpMsg
-
httpCode
public int httpCode -
contentLength
public long contentLength -
connection
-
contentType
-
server
-
chunked
public boolean chunked -
location
-
-
Constructor Details
-
HttpResponse
- Throws:
IOException
-
-
Method Details
-
readLine
Read a line of text from the given Stream and return it as a String. Assumes lines end in CRLF.- Throws:
IOException
-
getRest
-
parseHttp
-
parse
- Throws:
IOException
-
toString
Generates a string representation of the http header
-