Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
Reality Interface Classes: Class RealWebUrl (JReal) (realweburl.html)
|
Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.realweb.RealWebUrl
Process additional path information into usable fields
Field Summary | |
java.lang.String
|
command
The second path component after the servlet name |
boolean
|
debug
set to true if first path component contains 'Debug' |
java.lang.String
|
page
The third path component after the servlet name |
java.lang.String
|
pathInfo
The rest of the path after the servlet name |
int
|
reqNo
The request number |
java.lang.String
|
section
The first path component after the servlet name |
Constructor Summary | |
RealWebUrl(javax.servlet.http.HttpServletRequest req) Process the additional path information and extract bits of interest. | |
RealWebUrl(javax.servlet.http.HttpServletRequest req,
int reqNo) Process the additional path information and extract bits of interest. | |
RealWebUrl(java.lang.String section) Create an empty class with just the section name defined |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String pathInfo
public java.lang.String section
public java.lang.String command
public java.lang.String page
public boolean debug
public int reqNo
Constructor Detail |
public RealWebUrl(java.lang.String section)
public RealWebUrl(javax.servlet.http.HttpServletRequest req) throws RealWebException
The path information after the servlet name is expected to look like [/Debug]/section/command[/page]. These elements are parsed and loaded into this class.
If there is no additional path information then the following parameters can be used instead:
Parameter section => attribute section Parameter subroutine => attribute command Parameter debug => attribute debugAt least 'section' and 'command' must be defined.
req
- the HttpServletRequestpublic RealWebUrl(javax.servlet.http.HttpServletRequest req, int reqNo) throws RealWebException
The path information after the servlet name is expected to look like [/Debug]/section/command[/page]. These elements are parsed and loaded into this class.
If there is no additional path information then the following parameters can be used instead:
Parameter section => attribute section Parameter subroutine => attribute command Parameter debug => attribute debugAt least 'section' and 'command' must be defined.
req
- the HttpServletRequestreqNo
- request number - if non zero causes RealWeb to generate
debug logging to err.
| Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |