ApiRequestContext
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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.
|
| Method | Description |
|---|---|
|
|
Java Servlets’ Used when…FIXME |
|
|
Used when…FIXME |
| ApiRequestContext | Description |
|---|---|
|
|
|
|
|
Getting Current UIRoot — uiRoot Method
|
1 2 3 4 5 |
uiRoot: UIRoot |
uiRoot simply requests UIRootFromServletContext to get the current UIRoot (for the given servletContext).
|
Note
|
uiRoot is used when…FIXME
|
spark技术分享