public class ArgumentRequest extends Request
Constructor and Description |
---|
ArgumentRequest(String argument)
Create a new request
|
ArgumentRequest(String argument,
boolean escapeLeadingDash)
Create a new request
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestString()
Get the request String that will be passed to the server
|
boolean |
isResponseExpected()
Is a response expected from the server?
|
getFileForTransmission, modifiesInputStream, modifyInputStream, modifyOutputStream
public ArgumentRequest(String argument)
theArgument
- the argument to usepublic ArgumentRequest(String argument, boolean escapeLeadingDash)
theArgument
- the argument to useescapeLeadingDash
- true to escape leasding dash in the argument with another "--"
Argument request, false otherwisepublic String getRequestString()
getRequestString
in class Request
public boolean isResponseExpected()
isResponseExpected
in class Request
Copyright © 2016. All rights reserved.