ApiRequestContext

ApiRequestContext is the contract of…​FIXME

package org.apache.spark.status.api.v1

trait ApiRequestContext {
  // only required methods that have no implementation
  // the others follow
  @Context
  var servletContext: ServletContext = _

  @Context
  var httpRequest: HttpServletRequest = _
}
Note
ApiRequestContext is a private[v1] contract.
Table 1. ApiRequestContext Contract
Method Description

httpRequest

Java Servlets' HttpServletRequest

Used when…​FIXME

servletContext

Java Servlets' ServletContext

Used when…​FIXME

Table 2. ApiRequestContexts
ApiRequestContext Description

ApiRootResource

ApiStreamingApp

ApplicationListResource

BaseAppResource

SecurityFilter

Getting Current UIRoot — uiRoot Method

uiRoot: UIRoot

uiRoot simply requests UIRootFromServletContext to get the current UIRoot (for the given servletContext).

Note
uiRoot is used when…​FIXME

results matching ""

    No results matching ""