de.fuberlin.wiwiss.pubby.servlets
Class WebURIServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by de.fuberlin.wiwiss.pubby.servlets.BaseServlet
              extended by de.fuberlin.wiwiss.pubby.servlets.WebURIServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebURIServlet
extends BaseServlet

Servlet that handles the public URIs of mapped resources. It redirects either to the page URL or to the data URL, based on content negotiation.

See Also:
Serialized Form

Constructor Summary
WebURIServlet()
           
 
Method Summary
 boolean doGet(java.lang.String relativeURI, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Configuration config)
           
 
Methods inherited from class de.fuberlin.wiwiss.pubby.servlets.BaseServlet
addQueryString, doGet, getAnonymousPropertyValues, getResourceDescription, init, send404, send404
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebURIServlet

public WebURIServlet()
Method Detail

doGet

public boolean doGet(java.lang.String relativeURI,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     Configuration config)
              throws java.io.IOException
Specified by:
doGet in class BaseServlet
Throws:
java.io.IOException