public class AgreementRequestImpl extends Object implements AgreementRequest
Constructor and Description |
---|
AgreementRequestImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addCookie(String name,
String value) |
void |
addHeader(String name,
String value) |
void |
addRequestAttribute(String name,
Object value) |
void |
addRequestParameter(String name,
String value) |
void |
addSessionAttribute(String name,
Object value) |
String |
getAgreementText() |
String |
getCookie(String name)
Return the cookie of the given name, if it exists in the incoming request.
|
String |
getCredentials()
Return the credentials of the login, if any such login was attempted.
|
String |
getHeader(String name) |
Object |
getRequestAttribute(String name) |
String |
getRequestParameter(String name)
Return the request parameter of the given name, if it exists in the
incoming request, and if the AgreementConfig corresponding to the
|
Section |
getSection() |
Object |
getSessionAttribute(String name) |
String |
getUrl() |
String |
getUserName()
Return the user name of the login, if any such login was attempted.
|
void |
setAgreementText(String pText) |
void |
setCredentials(String pCredentials) |
void |
setSection(Section pSection) |
void |
setUrl(String pUrl) |
void |
setUserName(String pUserName) |
public String getUserName()
AgreementRequest
If the AgreementHandler is to use user names and credentials, then its AgreementConfig must specify that it uses authentication.
getUserName
in interface AgreementRequest
public void setUserName(String pUserName)
setUserName
in interface AgreementRequest
public String getCredentials()
AgreementRequest
If the AgreementHandler is to use user names and credentials, then its AgreementConfig must specify that it uses authentication.
getCredentials
in interface AgreementRequest
public void setCredentials(String pCredentials)
setCredentials
in interface AgreementRequest
public String getCookie(String name)
AgreementRequest
getCookie
in interface AgreementRequest
name
- the name of the cookiepublic void addCookie(String name, String value)
addCookie
in interface AgreementRequest
public String getRequestParameter(String name)
AgreementRequest
getRequestParameter
in interface AgreementRequest
name
- the name of the cookiepublic Object getRequestAttribute(String name)
getRequestAttribute
in interface AgreementRequest
public Object getSessionAttribute(String name)
getSessionAttribute
in interface AgreementRequest
public void addRequestParameter(String name, String value)
addRequestParameter
in interface AgreementRequest
public void addRequestAttribute(String name, Object value)
addRequestAttribute
in interface AgreementRequest
public void addSessionAttribute(String name, Object value)
addSessionAttribute
in interface AgreementRequest
public void addHeader(String name, String value)
addHeader
in interface AgreementRequest
public String getHeader(String name)
getHeader
in interface AgreementRequest
public void setAgreementText(String pText)
setAgreementText
in interface AgreementRequest
public String getAgreementText()
getAgreementText
in interface AgreementRequest
public void setSection(Section pSection)
setSection
in interface AgreementRequest
public Section getSection()
getSection
in interface AgreementRequest
public void setUrl(String pUrl)
setUrl
in interface AgreementRequest
public String getUrl()
getUrl
in interface AgreementRequest
© 1998- 2018 Stibo DX