java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
service.command.AbstractCommand
service.database.command.AbstractDatabaseCommand
service.database.command.InsertIntoDatabase
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class InsertIntoDatabase extends AbstractDatabaseCommand
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class service.database.command.AbstractDatabaseCommand
AbstractDatabaseCommand.RowMatcher -
Constructor Summary
Constructors Constructor Description InsertIntoDatabase() -
Method Summary
Modifier and Type Method Description protected voiddoOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static java.lang.StringgetCommand()Methods inherited from class service.database.command.AbstractDatabaseCommand
checkDatabaseInitiated, getColumnValuesParameter, getDatabaseConnection, getTableParameterMethods inherited from class service.command.AbstractCommand
displayError, setAccessControlAllowOriginHeaderMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doPost, doTrace, getLastModified, service, service
-
Constructor Details
-
InsertIntoDatabase
public InsertIntoDatabase()
-
-
Method Details
-
doOptions
protected void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException- Overrides:
doOptionsin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException- Overrides:
doPutin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
getCommand
public static java.lang.String getCommand()
-