public class SessionsTask extends AbstractCatalinaCommandTask
/sessions
command
supported by the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected java.lang.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 |
---|---|
java.lang.StringBuilder |
createQueryString(java.lang.String command)
Create query string for the specified command.
|
void |
execute()
Execute the requested operation.
|
java.lang.String |
getIdle() |
void |
setIdle(java.lang.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
public java.lang.String getIdle()
public void setIdle(java.lang.String idle)
public java.lang.StringBuilder createQueryString(java.lang.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-2018 Apache Software Foundation. All Rights Reserved.