BeforeRequest Event
Fires before a DAV request is processed.
Syntax
public open class DefaultWebdavserverEventListener : WebdavserverEventListener { ... public override fun beforeRequest(e: WebdavserverBeforeRequestEvent) {} ... } public class WebdavserverBeforeRequestEvent { val connectionID: Long val httpMethod: String? val url: String? var accept: Boolean }
Remarks
This event fires before an incoming request is processed. ConnectionID indicates the client's unique connection ID; HTTPMethod specifies the HTTP method being used to submit the request, and URL signifies the object's URL.
Use Accept parameter to accept or reject the request.