|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.webdav.util.IF
public class IF
This object represents "If" header of WebDAV specification.
Field Summary | |
---|---|
Set<Object> |
clearedResources
Collection of resource that was cleared. |
boolean |
error
true |
String |
parentToken
Collected token of a parent resource. |
String |
token
Collected token of a main resource. |
Constructor Summary | |
---|---|
IF()
|
Method Summary | |
---|---|
boolean |
parse(HTTPConnection httpConnection,
ResourceAdapter adapter,
Object mainResource,
Object parentResource)
Parses "if" header and checks if values correspond to given resource. |
boolean |
parse(HTTPConnection httpConnection,
ResourceAdapter adapter,
Object mainResource,
Object parentResource,
char[] buf)
Parses "if" header and checks if values correspond to given resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String token
null
public String parentToken
null
public Set<Object> clearedResources
null
public boolean error
true if header parsing wasn't successful
Constructor Detail |
---|
public IF()
Method Detail |
---|
public boolean parse(HTTPConnection httpConnection, ResourceAdapter adapter, Object mainResource, Object parentResource)
null
will be returned.
httpConnection
- http connectionadapter
- resource adaptermainResource
- main resourceparentResource
- parent resource. May be null.header
- if header
null
public boolean parse(HTTPConnection httpConnection, ResourceAdapter adapter, Object mainResource, Object parentResource, char[] buf)
null
will be returned.
httpConnection
- http connectionadapter
- resource adaptermainResource
- main resourceparentResource
- parent resource. May be null.header
- if header
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |