public class SessionsTask extends AbstractCatalinaCommandTask
/sessions
command
supported by the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected String |
idle |
path, version
charset, ignoreResponseConstraint, password, url, username
alwaysLog, 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, setVersion
execute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected String idle
public String getIdle()
public void setIdle(String idle)
public StringBuilder createQueryString(String command)
AbstractCatalinaCommandTask
createQueryString
in class AbstractCatalinaCommandTask
command
- Command to be executedpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.