Package jetbrains.buildServer.web.util
Class WebContextImpl
- java.lang.Object
-
- jetbrains.buildServer.web.util.WebContextImpl
-
- All Implemented Interfaces:
WebContext
public class WebContextImpl extends java.lang.Object implements WebContext
Represents the web context with (possibly) resolved current project.- Since:
- 8.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContextPath()
SProject
getProject()
-
-
-
Method Detail
-
getProject
@Nullable public SProject getProject()
- Specified by:
getProject
in interfaceWebContext
- Returns:
- optional project context for the text transformation
-
getContextPath
@NotNull public java.lang.String getContextPath()
- Specified by:
getContextPath
in interfaceWebContext
- Returns:
- context path
- See Also:
HttpServletRequest.getContextPath()
-
-