org.sonar.server.plugins
Class StaticResourcesServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.sonar.server.plugins.StaticResourcesServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class StaticResourcesServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
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, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticResourcesServlet
public StaticResourcesServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
getPluginKeyAndResourcePath
protected String getPluginKeyAndResourcePath(javax.servlet.http.HttpServletRequest request)
- Returns:
- part of request URL after servlet path
getPluginKey
protected String getPluginKey(javax.servlet.http.HttpServletRequest request)
getResourcePath
protected String getResourcePath(javax.servlet.http.HttpServletRequest request)
- Note that returned value should not have a leading "/" - see
Class.resolveName(String)
.
Copyright © 2009-2012 SonarSource. All Rights Reserved.