|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4Method_Intf
Interface for the E4Method, which is the basic injection mechanism in E4S.
| Method Summary | |
|---|---|
java.lang.String |
constructUrl(E4ServletImplementation_Intf servlet)
Construct a URL in the form: E4ServletImplementation_Intf.getUrl() + "?" |
java.lang.String |
constructUrl(E4ServletImplementation_Intf servlet,
boolean include_timestamp)
Construct a URL in the form: E4ServletImplementation_Intf.getUrl() + "?" |
java.lang.String |
constructUrl(E4ServletImplementation_Intf servlet,
E4CgiParams params)
Construct a URL in the form: E4ServletImplementation_Intf.getUrl() + "?" |
int |
getAlias()
Return the alias code of the function. |
long |
getAvgBufferSize()
|
long |
getAvgDuration()
Get the average duration in ms. |
long |
getAvgDurationApp()
Get the average duration (application only) in ms. |
long |
getAvgDurationE4S()
Get the average duration (E4S only) in ms. |
long |
getCallCounter()
|
java.lang.Class |
getDeclaringClass()
Get the declaring class for this E4Method object. |
java.util.Date |
getFirstCall()
|
long |
getFirstCallLng()
|
java.util.Date |
getLastCall()
Get the last call this function was called. |
long |
getLastCallLng()
|
java.lang.reflect.Method |
getMethod()
The method invoved. |
long |
getSumBufferSize()
Get the size of the HTML output buffer sent to the client. |
long |
getSumDuration()
Get the total duration in ms over all calls since the servlet was started. |
long |
getSumDurationApp()
Get the total duration (application only) in ms over all calls since the servlet was started. |
long |
getSumDurationE4S()
Get the total duration (E4S output only) in ms over all calls since the servlet was started. |
boolean |
is_E4CgiParams_a_parameter()
Defines, if E4CgiParams is used as second parameter. |
boolean |
is_HTML_a_parameter()
Defines, if HTML is used as first parameter. |
boolean |
isSilent()
|
boolean |
requiresSession()
|
void |
resetStatistics()
|
void |
updateStatistics(long duration_application,
long duration_e4s_output,
long buffer_size)
Increment the call counter by 1 and store statistical values. |
| Method Detail |
|---|
int getAlias()
E4ServletImplementation_Intf.PARAM_FUNCTION
parameter.
E4ServletImplementation_Intf.PARAM_FUNCTION,
A.getAlias()boolean is_HTML_a_parameter()
HTML is used as first parameter.
HTML is used as first parameter. false if notboolean is_E4CgiParams_a_parameter()
E4CgiParams is used as second parameter. This requires
HTML as first parameter.
HTML is used as first parameter. false if notjava.lang.reflect.Method getMethod()
long getCallCounter()
void updateStatistics(long duration_application,
long duration_e4s_output,
long buffer_size)
duration_application - time in ms that has been took by the business logic application (application dependent)duration_e4s_output - time in ms that has been took to handle the HTML elements in their output (e4s dependent)buffer_size - char's written out to the clientvoid resetStatistics()
java.util.Date getLastCall()
java.util.Date getFirstCall()
long getLastCallLng()
long getFirstCallLng()
long getAvgDuration()
long getAvgDurationApp()
long getAvgDurationE4S()
long getSumDuration()
long getSumDurationE4S()
long getSumDurationApp()
long getSumBufferSize()
long getAvgBufferSize()
java.lang.String constructUrl(E4ServletImplementation_Intf servlet)
E4ServletImplementation_Intf.getUrl() + "?" + E4ServletImplementation_Intf.PARAM_FUNCTION + "=" + getAlias()
servlet - the servlet context
java.lang.String constructUrl(E4ServletImplementation_Intf servlet,
E4CgiParams params)
E4ServletImplementation_Intf.getUrl() + "?" + E4ServletImplementation_Intf.PARAM_FUNCTION + "=" + getAlias()
servlet - the servlet contextparams - optional additional parameters (if not null)
java.lang.String constructUrl(E4ServletImplementation_Intf servlet,
boolean include_timestamp)
E4ServletImplementation_Intf.getUrl() + "?" + E4ServletImplementation_Intf.PARAM_FUNCTION + "=" + getAlias()
servlet - the servlet contextinclude_timestamp - if true, a variable TIM=... is appended to make each URL unique
boolean isSilent()
java.lang.Class getDeclaringClass()
E4ID for application modules initializing the first HTMLobject
by the framework (done in E4ServletImplementation.invoceFunctionHTML(e4s.html.E4Method_Intf, e4s.html.E4CgiParams, e4s.servlet.E4ServletImplementation_Intf)).
boolean requiresSession()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||