Package org.molgenis.framework.server

Examples of org.molgenis.framework.server.ServeConfig


  @Override
  public void handleRequest(MolgenisRequest r, MolgenisResponse response) throws IOException
  {
    try
    {
      super.init(new ServeConfig(mc.getServletContext(), restParams, "/"));
      super.service(r.getRequest(), response.getResponse());
      throw new IOException();
    }
    catch (ServletException e)
    {
View Full Code Here


public class FileService extends FileServlet implements MolgenisService
{
  public FileService(MolgenisContext mc) throws ServletException
  {
    // needed to pass MIME type mapping from webserver to servlet!
    super.init(new ServeConfig(mc.getServletContext(), null, "/"));
  }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.server.ServeConfig

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.