public abstract class HttpHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
begin |
protected static java.lang.String |
white_SPACE |
Modifier | Constructor and Description |
---|---|
protected |
HttpHeader()
Creates a new HttpHeader object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeaderField(java.lang.String headerName) |
java.util.Set |
getHeaderFieldNames() |
java.util.Map |
getHeaderFields() |
java.lang.String |
getStartLine() |
protected void |
processHeaderFields(java.io.InputStream in) |
protected java.lang.String |
readLine(java.io.InputStream in) |
void |
setHeaderField(java.lang.String headerName,
java.lang.String value) |
java.lang.String |
toString() |
protected static final java.lang.String white_SPACE
protected java.lang.String begin
protected java.lang.String readLine(java.io.InputStream in) throws java.io.IOException
in
- java.io.IOException
public java.lang.String getStartLine()
public java.util.Map getHeaderFields()
public java.util.Set getHeaderFieldNames()
public java.lang.String getHeaderField(java.lang.String headerName)
headerName
- public void setHeaderField(java.lang.String headerName, java.lang.String value)
headerName
- value
- public java.lang.String toString()
toString
in class java.lang.Object
protected void processHeaderFields(java.io.InputStream in) throws java.io.IOException
in
- java.io.IOException
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.