public class ImportAssetsServlet
extends javax.servlet.http.HttpServlet
ImportAssetsServlet class.
| Modifier and Type | Field and Description |
|---|---|
protected AssetModel |
model |
protected String |
redirectSuccess
The URL to redirect the client to in case of success.
|
| Constructor and Description |
|---|
ImportAssetsServlet() |
| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
decodeAssetsText(String text)
decodeAssetsText
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Acknowledge the events specified in the POST and then redirect the client
to an appropriate URL for display.
|
List<Integer> |
getCurrentAssetNodesList()
getCurrentAssetNodesList
|
void |
init()
Looks up the
redirect.success parameter in the servlet's
configuration. |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected String redirectSuccess
protected AssetModel model
public void init()
throws javax.servlet.ServletException
redirect.success parameter in the servlet's
configuration. If not present, this servlet will throw an exception so it will
be marked unavailable.init in class javax.servlet.GenericServletjavax.servlet.ServletException - if any.public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic List<Asset> decodeAssetsText(String text) throws org.opennms.web.asset.ImportAssetsServlet.AssetException
decodeAssetsText
public List<Integer> getCurrentAssetNodesList() throws SQLException
getCurrentAssetNodesList
List object.SQLException - if any.Copyright © 2022. All rights reserved.