public class GetPicController
extends BSAccountPageController
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
GetPicController() |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Spring standard http request handler, returns an image/jpeg
|
void |
setDatabase(DatabaseFacade dbf)
Set the reference to the PicMan Database
|
void |
setPicMan(PicManFacade pmf)
Set the reference to the PicMan API.
|
public void setDatabase(DatabaseFacade dbf)
dbf
- The DatabaseFacadepublic void setPicMan(PicManFacade pmf)
pmf
- The PicManFacadepublic ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- The http requestresponse
- The http responsejavax.servlet.ServletException
java.io.IOException