com.mindbright.net
public class HttpHeader extends java.lang.Object
Constructor and Description |
---|
HttpHeader() |
HttpHeader(java.io.InputStream input) |
HttpHeader(java.lang.String fullHeader) |
Modifier and Type | Method and Description |
---|---|
RFC822Head |
getHeader() |
java.lang.String |
getHeaderField(java.lang.String headerName) |
java.lang.String |
getProxyAuthMethod() |
java.lang.String |
getProxyAuthRealm() |
java.lang.String |
getStartLine() |
int |
getStatus() |
void |
setBasicProxyAuth(java.lang.String username,
java.lang.String password) |
void |
setHeaderField(java.lang.String headerName,
java.lang.String value) |
void |
setStartLine(java.lang.String startLine) |
java.lang.String |
toString() |
void |
writeTo(java.io.OutputStream output) |
public HttpHeader()
public HttpHeader(java.lang.String fullHeader) throws java.io.IOException
java.io.IOException
public HttpHeader(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public java.lang.String getStartLine()
public void setStartLine(java.lang.String startLine)
public RFC822Head getHeader()
public java.lang.String getHeaderField(java.lang.String headerName)
public void setHeaderField(java.lang.String headerName, java.lang.String value)
public void writeTo(java.io.OutputStream output) throws java.io.IOException
java.io.IOException
public int getStatus()
public void setBasicProxyAuth(java.lang.String username, java.lang.String password)
public java.lang.String getProxyAuthMethod()
public java.lang.String getProxyAuthRealm()
public java.lang.String toString()
toString
in class java.lang.Object