Package org.opennms.web.asset
Class ModifyAssetServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.opennms.web.asset.ModifyAssetServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ModifyAssetServlet extends javax.servlet.http.HttpServlet
ModifyAssetServlet class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AssetModel
model
-
Constructor Summary
Constructors Constructor Description ModifyAssetServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected java.lang.String
getRequestParameter(javax.servlet.http.HttpServletRequest request, java.lang.String name)
getRequestParametervoid
init()
initprotected Asset
parms2Asset(javax.servlet.http.HttpServletRequest request, int nodeId)
parms2Asset-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
model
protected AssetModel model
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException
init
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- if any.
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
getRequestParameter
protected java.lang.String getRequestParameter(javax.servlet.http.HttpServletRequest request, java.lang.String name)
getRequestParameter
- Parameters:
request
- aHttpServletRequest
object.name
- aString
object.- Returns:
- a
String
object.
-
-