Class AbstractWinRMRequest
- java.lang.Object
-
- hudson.plugins.ec2.win.winrm.request.AbstractWinRMRequest
-
- All Implemented Interfaces:
WinRMRequest
- Direct Known Subclasses:
DeleteShellRequest
,ExecuteCommandRequest
,GetOutputRequest
,OpenShellRequest
,SendInputRequest
,SignalRequest
public abstract class AbstractWinRMRequest extends Object implements WinRMRequest
-
-
Field Summary
Fields Modifier and Type Field Description protected int
envelopSize
protected HeaderBuilder
header
protected String
locale
protected MessageBuilder
message
protected String
timeout
protected URL
url
-
Constructor Summary
Constructors Constructor Description AbstractWinRMRequest(URL url)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.dom4j.Document
build()
protected abstract void
construct()
protected HeaderBuilder
defaultHeader()
protected String
generateUUID()
int
getEnvelopSize()
String
getLocale()
String
getTimeout()
protected void
setBody(org.dom4j.Element body)
void
setEnvelopSize(int envelopSize)
void
setLocale(String locale)
void
setTimeout(String timeout)
-
-
-
Field Detail
-
message
protected MessageBuilder message
-
header
protected HeaderBuilder header
-
timeout
protected String timeout
-
envelopSize
protected int envelopSize
-
locale
protected String locale
-
url
protected URL url
-
-
Constructor Detail
-
AbstractWinRMRequest
public AbstractWinRMRequest(URL url)
-
-
Method Detail
-
construct
protected abstract void construct()
-
build
public org.dom4j.Document build()
- Specified by:
build
in interfaceWinRMRequest
-
defaultHeader
protected HeaderBuilder defaultHeader() throws URISyntaxException
- Throws:
URISyntaxException
-
setBody
protected void setBody(org.dom4j.Element body)
-
generateUUID
protected String generateUUID()
-
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)
-
-