|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ibisph.mvc.controller.query.QueryApplicationProxy
public class QueryApplicationProxy
Controller that passes IBISQ query requests through to the CGI app. This allows for test machines to be able to submit queries to a protected IBISQ system. Utah's OIT has the IBISQ CGI app on a server in a private network which only allows the IBIS-IRV server access. This also helps in not having to have a development test machine with a seperate copy of the SAS datasets and a SAS lic.
| Field Summary | |
|---|---|
protected java.lang.String |
ibisqCGIAppURL
|
protected java.lang.String |
password
|
protected java.lang.String |
urlCharacterEncoding
|
protected java.lang.String |
username
|
| Constructor Summary | |
|---|---|
QueryApplicationProxy(java.lang.String ibisqCGIAppURL)
Sets the IBIS-Q Application's CGI URL. |
|
| Method Summary | |
|---|---|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Controller method called by the Spring MVC framework to handle the request. |
void |
setPassword(java.lang.String password)
Sets an optional HTTP request username password. |
void |
setURLCharacterEncoding(java.lang.String urlCharacterEncoding)
Sets an optional Character Encoding to be used when building the IBIS-Q query string. |
void |
setUsername(java.lang.String username)
Sets an optional HTTP request username. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String ibisqCGIAppURL
protected java.lang.String username
protected java.lang.String password
protected java.lang.String urlCharacterEncoding
| Constructor Detail |
|---|
public QueryApplicationProxy(java.lang.String ibisqCGIAppURL)
ibisqCGIAppURL - URL of the IBIS-Q CGI app. This URL typically does
not contain any URL query string data/parameters (although it
could). These query string parameters are typically added later
after the module has been presented to the user and they have
submitted their query.| Method Detail |
|---|
public void setURLCharacterEncoding(java.lang.String urlCharacterEncoding)
urlCharacterEncoding - Value to be used by the encode method.public void setUsername(java.lang.String username)
username - Value to be supplied as the HTTP request username.public void setPassword(java.lang.String password)
password - Value to be supplied as the HTTP request username's
password.
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
java.net.URISyntaxException
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.io.IOException
java.net.URISyntaxException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||