|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ibisph.mvc.controller.home.SaveResponse
public class SaveResponse
Intermediary/proxy that sends the request to the admin application. This Save Response is an intermediary/proxy controller that simply takes an HTTP request's data (via post or get) and passes it along to the admin system so that is can typically be saved into a db thus not requiring the a database connection and related objects.
An Admin System save response request is built using this objects specified properties coupled with the data received from the original user's request. This request is then sent to the Admin System and a response is received back. The text received (response from Admin System's save request) is then set into the model and the view is shown to the user. The Admin System's save request URL is comprised of these basic properties:
| Field Summary | |
|---|---|
protected java.lang.String |
adminSystemResponseSuccessCode
|
protected java.lang.String |
adminSystemSaveResponseBaseURL
|
protected java.lang.String |
httpPostContentType
|
protected java.lang.String |
saveResponseRequestParameterName
|
protected java.lang.String |
saveResponseRequestParameterValue
|
protected java.lang.String |
submittersIPAddressRequestParameterName
|
protected org.springframework.web.servlet.View |
view
|
| Constructor Summary | |
|---|---|
SaveResponse()
|
|
| Method Summary | |
|---|---|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Rebundles the submitted request parameters and sends to Admin System. |
void |
setAdminSystemResponseSuccessCode(java.lang.String adminSystemResponseSuccessCode)
Success code received from the Admin System upon successfully handling the save request. |
void |
setAdminSystemSaveResponseBaseURL(java.lang.String adminSystemSaveResponseBaseURL)
Base, incomplete URL of the Admin System's Save Response controller/handler. |
void |
setHTTPPostContentType(java.lang.String httpPostContentType)
Sets the content type to be used when submitting the content to be saved to the Admin System. |
void |
setSaveResponseRequestName(java.lang.String saveResponseRequestName)
Name portion of a URL name value pair which contains the save request sent to the Admin System. |
void |
setSaveResponseRequestValue(java.lang.String saveResponseRequestValue)
Value portion of a URL name value pair which contains the save request value sent to the Admin System. |
void |
setSubmittersIPAddressRequestParameterName(java.lang.String requestorsIPAddressRequestParameterName)
HTTP URL parameter name used to specify to the Admin System the requestor's IP address. |
void |
setView(org.springframework.web.servlet.View view)
Spring MVC view to be used to show the status of the save request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String adminSystemSaveResponseBaseURL
protected java.lang.String saveResponseRequestParameterName
protected java.lang.String saveResponseRequestParameterValue
protected java.lang.String submittersIPAddressRequestParameterName
protected java.lang.String httpPostContentType
protected java.lang.String adminSystemResponseSuccessCode
protected org.springframework.web.servlet.View view
| Constructor Detail |
|---|
public SaveResponse()
| Method Detail |
|---|
public void setAdminSystemSaveResponseBaseURL(java.lang.String adminSystemSaveResponseBaseURL)
adminSystemSaveResponseBaseURL - public void setSaveResponseRequestName(java.lang.String saveResponseRequestName)
saveResponseRequestName - Name of the save request parameter sent
to Admin System as part of the save request URL.public void setSaveResponseRequestValue(java.lang.String saveResponseRequestValue)
saveResponseRequestValue - Value of the save request parameter sent
to Admin System as part of the save request URL.public void setSubmittersIPAddressRequestParameterName(java.lang.String requestorsIPAddressRequestParameterName)
requestorsIPAddressRequestParameterName - public void setHTTPPostContentType(java.lang.String httpPostContentType)
httpPostContentType - public void setAdminSystemResponseSuccessCode(java.lang.String adminSystemResponseSuccessCode)
adminSystemResponseSuccessCode - Value received from the Admin
System when the Admin System has successfully handled the save
request.public void setView(org.springframework.web.servlet.View view)
view - Save Response status view to use.
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
handleRequest in interface org.springframework.web.servlet.mvc.Controllerrequest - HTTP Servlet Request passed from the servlet.response - HTTP Servlet Response passed from the servlet.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||