Examples of BundleServletConfig


Examples of com.liferay.httpservice.servlet.BundleServletConfig

    BundleContext bundleContext = getBundleContext();

    ServletContext servletContext = bundleContext.getService(
      serviceReference);

    ServletConfig servletConfig = new BundleServletConfig(
      servletContext, "Web Extender Servlet", null,
      new PortalHttpContext(servletContext));

    try {
      _webExtenderServlet = new WebExtenderServlet(bundleContext);
View Full Code Here

Examples of com.liferay.httpservice.servlet.BundleServletConfig

    ClassLoader contextClassLoader = currentThread.getContextClassLoader();

    try {
      currentThread.setContextClassLoader(getClassLoader());

      ServletConfig servletConfig = new BundleServletConfig(
        this, servletName, initParameters, httpContext);

      servlet.init(servletConfig);

      _servletsByServletNames.put(servletName, servlet);
View Full Code Here

Examples of com.liferay.httpservice.servlet.BundleServletConfig

    if (filter == null) {
      ServletConfig servletConfig = _servlet.getServletConfig();

      if (servletConfig instanceof BundleServletConfig) {
        BundleServletConfig bundleServletConfig =
          (BundleServletConfig)servletConfig;

        HttpContext httpContext = bundleServletConfig.getHttpContext();

        if (!httpContext.handleSecurity(
            (HttpServletRequest)servletRequest,
            (HttpServletResponse)servletResponse)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.