SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]