|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
public abstract class RequestProperty
Abstract request property class. It defines default behaviour of undefined properties.
Field Summary | |
---|---|
protected static Class<?>[] |
CONSTRUCTOR_ARGUMENTS_CLASSES
Constructor argument classes - Status |
protected org.slf4j.Logger |
logger
Logger |
protected static String |
packageName
This package name |
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler |
---|
parent |
Constructor Summary | |
---|---|
RequestProperty(XMLParserHandler parent)
Constructor |
Method Summary | |
---|---|
protected ResponseProperty |
constructResponse(Status status)
Constructs response property based on supplied status |
ResponseProperty |
processRemoveProperty(ResourceAdapter webDAVAdapter,
Object resource)
Returns response property with Status.CONFLICT status |
ResponseProperty |
processResponse(ResourceAdapter adapter,
Object resource)
Returns response property with Status.NOT_FOUND status |
ResponseProperty |
processSetProperty(ResourceAdapter adapter,
Object resource)
Returns response property with Status.CONFLICT status |
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler |
---|
end, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.slf4j.Logger logger
protected static final Class<?>[] CONSTRUCTOR_ARGUMENTS_CLASSES
Status
protected static final String packageName
Constructor Detail |
---|
public RequestProperty(XMLParserHandler parent)
parent
- parent parser handlerMethod Detail |
---|
protected ResponseProperty constructResponse(Status status)
status
- status
public ResponseProperty processResponse(ResourceAdapter adapter, Object resource)
Status.NOT_FOUND
status
adapter
- adpaterresource
- resource
Status.NOT_FOUND
statuspublic ResponseProperty processSetProperty(ResourceAdapter adapter, Object resource)
Status.CONFLICT
status
adapter
- adpaterresource
- resource
Status.CONFLICT
statuspublic ResponseProperty processRemoveProperty(ResourceAdapter webDAVAdapter, Object resource)
Status.CONFLICT
status
adapter
- adpaterresource
- resource
Status.CONFLICT
status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |