|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.webdav.http.client.HttpConnection.Header
public class HttpConnection.Header
A request or response header.
| Constructor Summary | |
|---|---|
HttpConnection.Header()
|
|
| Method Summary | |
|---|---|
void |
addField(String fieldName,
String fieldValue)
Adds the specified header field to this header. |
void |
clear()
Removes all header fields from this header. |
String |
getFieldName(int position)
Returns the field name of the header field at the given position, or null if there is no such position. |
String |
getFieldValue(int position)
Returns the field value of the header field at the given position, or null if there is no such postition. |
String |
getFieldValue(String fieldName)
Returns the field value of the header field with the given field name, or null if there is no such field
name. |
int |
size()
Returns the number of header fields in this header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpConnection.Header()
| Method Detail |
|---|
public void addField(String fieldName,
String fieldValue)
fieldName - the new header field's namefieldValue - the new header field's valuepublic void clear()
public String getFieldValue(int position)
null if there is no such postition.
position - the position of a header field
public String getFieldValue(String fieldName)
null if there is no such field
name.
fieldName - the name of a header field
public String getFieldName(int position)
null if there is no such position.
position - the position of a header field in this header
public int size()
|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||