Class HttpServiceContext

java.lang.Object
org.eclipse.xtext.web.servlet.HttpServiceContext
All Implemented Interfaces:
org.eclipse.xtext.web.server.IServiceContext

public class HttpServiceContext extends Object implements org.eclipse.xtext.web.server.IServiceContext
Provides the parameters and metadata of an HttpServletRequest.
  • Constructor Details

    • HttpServiceContext

      public HttpServiceContext(javax.servlet.http.HttpServletRequest request)
  • Method Details

    • getParameterKeys

      public Set<String> getParameterKeys()
      Specified by:
      getParameterKeys in interface org.eclipse.xtext.web.server.IServiceContext
    • getParameter

      public String getParameter(String key)
      Specified by:
      getParameter in interface org.eclipse.xtext.web.server.IServiceContext
    • getSession

      public org.eclipse.xtext.web.server.ISession getSession()
      Specified by:
      getSession in interface org.eclipse.xtext.web.server.IServiceContext
    • getRequest

      public javax.servlet.http.HttpServletRequest getRequest()