public class WebcamPush extends HttpServlet
Modifier and Type | Field and Description |
---|---|
(package private) String |
imageLocation
The instance location of the image file.
|
(package private) static String |
IMAGELOCATION
The default location for the image file.
|
Constructor and Description |
---|
WebcamPush() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
The main servlet processing method.
|
void |
doGetImage(HttpServletRequest req,
HttpServletResponse res)
The main servlet processing method.
|
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
This method handles the "POST" submission.
|
void |
init()
Initializes the servlet and loads some init data.
|
void |
init(ServletConfig config)
Initializes the servlet and loads some init data.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
static final String IMAGELOCATION
String imageLocation
public WebcamPush()
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- servlet configuration informationServletException
- if an error occured during initializationpublic void init()
init
in class GenericServlet
public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
doGet
in class HttpServlet
req
- Description of the Parameterres
- Description of the ParameterServletException
- Description of the ExceptionIOException
- Description of the Exceptionpublic void doGetImage(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
req
- Description of the Parameterres
- Description of the ParameterServletException
- Description of the ExceptionIOException
- Description of the Exceptionpublic void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
doPost
in class HttpServlet
req
- Description of Parameterres
- Description of ParameterServletException
- Description of ExceptionIOException
- Description of ExceptionWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses