@Deprecated public class IndexerServlet extends HttpServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_GET_PATH_CONTENTS
Deprecated.
|
static java.lang.String |
ACTION_GET_STATUS
Deprecated.
|
static java.lang.String |
ACTION_PARAM_PATH
Deprecated.
|
static java.lang.String |
ACTION_SET_ADVANCED_SETTINGS
Deprecated.
|
static java.lang.String |
ACTION_SET_INDEXING_PATH
Deprecated.
|
static java.lang.String |
ACTION_START_INDEXING
Deprecated.
|
static java.lang.String |
ACTION_STOP_INDEXING
Deprecated.
|
static java.lang.String |
PARAM_ACTION
Deprecated.
|
Constructor and Description |
---|
IndexerServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Deprecated.
|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Deprecated.
|
static java.lang.String |
getHTMLServiceAdvancedSettingsForm(HttpServletRequest request,
java.lang.String brokerURL,
java.lang.String elementID)
Deprecated.
Based on the request, returns a String containing a form with all the
settings inputs boxes.
|
java.lang.String |
getIndexingStatus()
Deprecated.
Returns a XML document in String form containing the status of the
indexing.
|
static java.lang.String |
getPathContents(java.lang.String path)
Deprecated.
Returns a XML document in String form containing the list of child
directories of the specified path.
|
public static final java.lang.String PARAM_ACTION
public static final java.lang.String ACTION_START_INDEXING
public static final java.lang.String ACTION_STOP_INDEXING
public static final java.lang.String ACTION_GET_STATUS
public static final java.lang.String ACTION_SET_INDEXING_PATH
public static final java.lang.String ACTION_SET_ADVANCED_SETTINGS
public static final java.lang.String ACTION_GET_PATH_CONTENTS
public static final java.lang.String ACTION_PARAM_PATH
public IndexerServlet()
public static java.lang.String getPathContents(java.lang.String path)
path
- the path of the directory to retrieve the child directories
of.public java.lang.String getIndexingStatus()
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
java.io.IOException
public static java.lang.String getHTMLServiceAdvancedSettingsForm(HttpServletRequest request, java.lang.String brokerURL, java.lang.String elementID) throws java.io.IOException
request
- the servlet request object.brokerURL
- the URL of the broker that will apply the settings after
receiving this forms post.elementID
- the ID of this HTML form, can be null.java.io.IOException
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
java.io.IOException