nl.surfnet.coin.shindig.servlet
Class StatusPageServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nl.surfnet.coin.shindig.servlet.StatusPageServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class StatusPageServlet
- extends javax.servlet.http.HttpServlet
- Author:
- steinwelberg
- 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 |
StatusPageServlet
public StatusPageServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
getPersonService
protected PersonService getPersonService()
- Get the
PersonService from the CoinGuiceModule
- Returns:
PersonService
getGroupService
protected GroupService getGroupService()
- Get the GroupService from the
CoinGuiceModule
- Returns:
- the
GroupService
getEnvironment
protected ContextEnvironment getEnvironment()
- Returns:
- the
ConextEnvironment
executeHttpGet
protected InputStream executeHttpGet(String url)
throws org.apache.http.client.ClientProtocolException,
IOException
- Execute a Http GET
- Parameters:
url - the url to call
- Returns:
- the inputstream
- Throws:
org.apache.http.client.ClientProtocolException - in case of Htpp protocol breach
IOException - in case of IO error
Copyright © 2007-2012. All Rights Reserved.