|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.JapanoConfig
public class JapanoConfig
Extends javax.servlet.ServletConfig to add japano specific configuration information.
Method Summary | |
---|---|
ActionConfig |
getActionConfig()
Returns the ActionConfig for this Servlet. |
int |
getActionTimeout()
|
java.lang.String |
getInitParameter(java.lang.String str)
|
java.util.Enumeration |
getInitParameterNames()
|
java.lang.Class |
getRequestType()
Returns the type of request the japano servlet will generate. |
java.lang.String |
getResourceBundle()
Getter for property resourceBundle. |
java.lang.String |
getScratchDir()
Returns the directory where jsp sources and classes are generated to. |
javax.servlet.ServletContext |
getServletContext()
Returns the ServletContext for the japano Servlet. |
java.lang.String |
getServletName()
|
java.lang.Class |
getSessionType()
Returns the type of session the japano servlet will generate. |
java.lang.String |
getWebAppRoot()
Returns the root directory of the web application |
java.lang.String |
getWelcomeAction()
Returns the action executed on directory access or null if there is
no such action and normal web application welcome file rules apply. |
java.lang.String |
getWelcomeView()
Getter for property welcomeView. |
boolean |
isCompileEnabled()
Returns true if jsp compilation is enabled. |
boolean |
isSessionIdInPath()
If set to true the japano servlet will encode
the session id in the first path part of the webapplication context. |
boolean |
isViewAccessAllowed()
Returns whether direct JSP access is allowed. |
boolean |
redirectAfterPost()
if set to true the japano servlet will redirect after a HTTP POST request
to a simple showView action to enable client reloading without resending form data. |
java.lang.String |
toString()
|
boolean |
tryCookie()
If this is true , the japano engine will first try cookies
as id transport mechanism and will fall back to another mechanism only
if this fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ActionConfig getActionConfig()
public boolean isCompileEnabled()
true
if jsp compilation is enabled.
public int getActionTimeout()
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.ServletConfig
public java.lang.Class getSessionType()
public java.lang.Class getRequestType()
public java.lang.String getWebAppRoot()
public java.lang.String getScratchDir()
public java.lang.String getInitParameter(java.lang.String str)
getInitParameter
in interface javax.servlet.ServletConfig
public java.util.Enumeration getInitParameterNames()
getInitParameterNames
in interface javax.servlet.ServletConfig
public java.lang.String getServletName()
getServletName
in interface javax.servlet.ServletConfig
public boolean isViewAccessAllowed()
false
direct access of JSP documents per URI is forbidden.
All requests have to access actions.
public boolean redirectAfterPost()
true
the japano servlet will redirect after a HTTP POST request
to a simple showView action to enable client reloading without resending form data.
public java.lang.String getWelcomeAction()
null
if there is
no such action and normal web application welcome file rules apply.
public java.lang.String getWelcomeView()
public boolean isSessionIdInPath()
true
the japano servlet will encode
the session id in the first path part of the webapplication context.
public boolean tryCookie()
true
, the japano engine will first try cookies
as id transport mechanism and will fall back to another mechanism only
if this fails.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getResourceBundle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |