public final class Headers extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets action (web verb).
|
Map |
getAuthenticate()
Gets the authenticate header.
|
Map |
getAuthorization()
Gets the authorization header.
|
Integer |
getConnectCslr()
Gets connect client sequence last received.
|
Integer |
getConnectCslw()
Gets connect client sequence lower window.
|
Integer |
getConnectCsuw()
Gets connect client sequence upper window.
|
Integer |
getConnectSslr()
Gets connect server sequence last received.
|
Integer |
getErrorCode()
Gets the error code.
|
Map |
getExtensionHeaders()
Gets extension headers.
|
int |
getHibernateTTL()
Gets the Hibernate TTL.
|
String |
getInitiator()
Gets initiator.
|
String |
getReason()
Gets the reason.
|
Integer |
getResponseCode()
Gets the response code.
|
String |
getTarget()
Gets target.
|
boolean |
isReliable() |
void |
setAction(String action)
Sets action (web verb).
|
void |
setAuthenticate(Map authenticate)
Sets the authenticate header.
|
void |
setAuthorization(Map authorization)
Sets the authorization header.
|
void |
setConnectCslr(Integer connectSlr)
Sets connect client sequence last received.
|
void |
setConnectCslw(Integer connectSlw)
Sets connect client sequence lower window.
|
void |
setConnectCsuw(Integer connectSuw)
Sets connect client sequence upper window.
|
void |
setConnectSslr(Integer connectSslr)
Sets connect server sequence last received.
|
void |
setErrorCode(int code)
Sets the error code.
|
void |
setExtensionHeaders(Map extHeaders)
Sets extension headers.
|
void |
setHibernateTTL(int ttl)
Sets the Hibernate TTL.
|
void |
setInitiator(String initiator)
Sets initiator.
|
void |
setReason(String reason)
Sets the reason.
|
void |
setResponseCode(int code)
Sets the response code.
|
void |
setTarget(String target)
Sets target.
|
String |
toString() |
public String getAction()
public void setAction(String action)
action
- Actionpublic String getInitiator()
public void setInitiator(String initiator)
initiator
- initiatorpublic String getTarget()
public void setTarget(String target)
target
- Targetpublic Map getExtensionHeaders()
public void setExtensionHeaders(Map extHeaders)
extHeaders
- extension headerspublic Integer getConnectCslr()
public void setConnectCslr(Integer connectSlr)
connectSlr
- the new connect cslrpublic Integer getConnectCslw()
public void setConnectCslw(Integer connectSlw)
connectSlw
- the new connect cslwpublic Integer getConnectCsuw()
public void setConnectCsuw(Integer connectSuw)
connectSuw
- the new connect csuwpublic Integer getConnectSslr()
public void setConnectSslr(Integer connectSslr)
connectSslr
- the new connect sslrpublic Integer getErrorCode()
public void setErrorCode(int code)
code
- the new error codepublic String getReason()
public void setReason(String reason)
reason
- the new reasonpublic Integer getResponseCode()
public void setResponseCode(int code)
code
- the new response codepublic boolean isReliable()
public Map getAuthorization()
public void setAuthorization(Map authorization)
authorization
- the authorization headerpublic Map getAuthenticate()
public void setAuthenticate(Map authenticate)
authenticate
- the authenticate headerpublic int getHibernateTTL()
public void setHibernateTTL(int ttl)
ttl
- the time-to-live