Class RequestFactory
- java.lang.Object
-
- hudson.plugins.ec2.win.winrm.request.RequestFactory
-
public class RequestFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description RequestFactory(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEnvelopSize()
String
getLocale()
String
getTimeout()
DeleteShellRequest
newDeleteShellRequest(String shellId)
ExecuteCommandRequest
newExecuteCommandRequest(String shellId, String command)
GetOutputRequest
newGetOutputRequest(String shellId, String commandId)
OpenShellRequest
newOpenShellRequest()
SendInputRequest
newSendInputRequest(byte[] input, String shellId, String commandId)
SignalRequest
newSignalRequest(String shellId, String commandId)
void
setEnvelopSize(int envelopSize)
void
setLocale(String locale)
void
setTimeout(String timeout)
-
-
-
Constructor Detail
-
RequestFactory
public RequestFactory(URL url)
-
-
Method Detail
-
newOpenShellRequest
public OpenShellRequest newOpenShellRequest()
-
newExecuteCommandRequest
public ExecuteCommandRequest newExecuteCommandRequest(String shellId, String command)
-
newDeleteShellRequest
public DeleteShellRequest newDeleteShellRequest(String shellId)
-
newSignalRequest
public SignalRequest newSignalRequest(String shellId, String commandId)
-
newSendInputRequest
public SendInputRequest newSendInputRequest(byte[] input, String shellId, String commandId)
-
newGetOutputRequest
public GetOutputRequest newGetOutputRequest(String shellId, String commandId)
-
getTimeout
public String getTimeout()
-
setTimeout
public void setTimeout(String timeout)
-
getEnvelopSize
public int getEnvelopSize()
-
setEnvelopSize
public void setEnvelopSize(int envelopSize)
-
getLocale
public String getLocale()
-
setLocale
public void setLocale(String locale)
-
-