|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJavaBridgeFactory
Create JavaBridge, IContext and ISession instances.
| Method Summary | |
|---|---|
void |
destroy()
Destroy the factory |
void |
flushBuffer()
Flush the response buffer |
JavaBridge |
getBridge()
Return the JavaBridge. |
IContext |
getContext()
Return the associated JSR223 context |
ISession |
getSession(java.lang.String name,
short clientIsNew,
int timeout)
Return a session for the JavaBridge |
void |
invalidate()
Hook is called at the end of the life cycle. |
boolean |
isNew()
Return true if this factory has already created a bridge or not. |
void |
parseHeader(Request req,
java.io.InputStream in)
Called for the request header |
void |
recycle()
Recycle the factory for new reqests. |
| Method Detail |
|---|
ISession getSession(java.lang.String name,
short clientIsNew,
int timeout)
name - The session name. If name is null, the name PHPSESSION will be used.clientIsNew - one of ISession.SESSION_CREATE_NEW ISession.SESSION_GET_OR_CREATE or ISession.SESSION_GETtimeout - timeout in seconds. If 0 the session does not expire.
ISessionIContext getContext()
ContextFactory.getContext()boolean isNew()
JavaBridge getBridge()
void recycle()
void destroy()
void parseHeader(Request req,
java.io.InputStream in)
throws java.io.IOException
req - the current requestin - the input stream
java.io.IOException
void flushBuffer()
throws java.io.IOException
java.io.IOExceptionvoid invalidate()
destroy(),
recycle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||