Class 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 Detail

      • getProject

        @Nullable
        public SProject getProject()
        Specified by:
        getProject in interface WebContext
        Returns:
        optional project context for the text transformation
      • getContextPath

        @NotNull
        public java.lang.String getContextPath()
        Specified by:
        getContextPath in interface WebContext
        Returns:
        context path
        See Also:
        HttpServletRequest.getContextPath()