com.liferay.portal.webserver
Class WebServerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.liferay.portal.webserver.WebServerServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class WebServerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected long |
getGroupId(long companyId,
String name)
|
protected void |
sendDocumentLibrary(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
User user,
String path,
String[] pathArray)
|
protected void |
sendFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
User user,
String[] pathArray)
|
protected void |
sendFile(javax.servlet.http.HttpServletResponse response,
User user,
long groupId,
long folderId,
String title)
|
protected void |
sendGroups(javax.servlet.http.HttpServletResponse response,
User user,
String path)
|
protected void |
sendHTML(javax.servlet.http.HttpServletResponse response,
String path,
List<WebServerEntry> webServerEntries)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
WebServerServlet
public WebServerServlet()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
getGroupId
protected long getGroupId(long companyId,
String name)
throws Exception
- Throws:
Exception
sendDocumentLibrary
protected void sendDocumentLibrary(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
User user,
String path,
String[] pathArray)
throws Exception
- Throws:
Exception
sendFile
protected void sendFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
User user,
String[] pathArray)
throws Exception
- Throws:
Exception
sendFile
protected void sendFile(javax.servlet.http.HttpServletResponse response,
User user,
long groupId,
long folderId,
String title)
throws Exception
- Throws:
Exception
sendGroups
protected void sendGroups(javax.servlet.http.HttpServletResponse response,
User user,
String path)
throws Exception
- Throws:
Exception
sendHTML
protected void sendHTML(javax.servlet.http.HttpServletResponse response,
String path,
List<WebServerEntry> webServerEntries)
throws Exception
- Throws:
Exception