public class SessionsTask extends AbstractCatalinaCommandTask
/sessions command
supported by the Tomcat manager application.| Modifier and Type | Field and Description |
|---|---|
protected String |
idle |
path, versioncharset, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor and Description |
|---|
SessionsTask() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
createQueryString(String command)
Create query string for the specified command.
|
void |
execute()
Execute the requested operation.
|
String |
getIdle() |
void |
setIdle(String idle) |
getPath, getVersion, setPath, setVersionexecute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsernameaddConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputpropertybindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected String idle
public String getIdle()
public void setIdle(String idle)
public StringBuilder createQueryString(String command)
AbstractCatalinaCommandTaskcreateQueryString in class AbstractCatalinaCommandTaskcommand - Command to be executedpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class AbstractCatalinaTaskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.