Package org.apache.tomcat

Examples of org.apache.tomcat.Host


  throws IOException, ServletException {

  StandardEngine engine = (StandardEngine) getContainer();

  // Select the host to be used for this request
  Host host = engine.map(request);
  if (host == null) {
      response.getResponse().sendError
    (HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
     sm.getString("standardEngine.noHost"));
      return;
  }

  // Ask this Host to process this request
  host.invoke(request, response);

    }
View Full Code Here


      server = defaultHost;
  if (server == null)
      return (null);

  // Find the matching child Host
  Host host = (Host) findChild(server);
  if ((host == null) && (unknownHost != null))
      host = (Host) findChild(unknownHost);
  return (host);

    }
View Full Code Here

TOP

Related Classes of org.apache.tomcat.Host

Copyright © 2018 www.massapicom. 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.