|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimbox.http.HttpNimletContainer
public class HttpNimletContainer
This an HTTP implementation of the NimletContainer interface.
Field Summary | |
---|---|
protected HttpNimletDriver |
_driver
|
protected javax.servlet.http.HttpServletRequest |
_request
|
protected javax.servlet.http.HttpServletResponse |
_response
|
Constructor Summary | |
---|---|
HttpNimletContainer(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
HttpNimletDriver driver)
This methods is used to create a new instance of an HttpNimletContainer. |
Method Summary | |
---|---|
void |
attachEntity(Entity entity)
This method is used to attach an entity to the container. |
void |
detachEntity(Entity entity)
This method is used to detach an entity from the container. |
java.lang.String |
getContainerType()
This method returns a string representation of the container type. |
Entity |
getEntityFromSession()
This method is used to get the Entity object from the HttpSession for the client. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
This method returns a reference to the HttpServletRequest object associated with a client request. |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
This method returns a reference to the HttpServletResponse object associated with a client request. |
HttpNimletDriver |
getNimletDriver()
This method returns the cached reference to the HttpNimletDriver object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final javax.servlet.http.HttpServletRequest _request
protected final javax.servlet.http.HttpServletResponse _response
protected final HttpNimletDriver _driver
Constructor Detail |
---|
public HttpNimletContainer(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HttpNimletDriver driver)
request
- Reference to the HttpServletRequest object.response
- Reference to the HttpServletResponse object.driver
- Reference to the HttpNimletDriver being used.Method Detail |
---|
public java.lang.String getContainerType()
NimletContainer
getContainerType
in interface NimletContainer
public void attachEntity(Entity entity) throws NimletException
NimletContainer
attachEntity
in interface NimletContainer
NimletException
- If an error occur when attaching the entity to the Container.
This error usually occur when the system has not been
configured properly.public void detachEntity(Entity entity) throws NimletException
NimletContainer
detachEntity
in interface NimletContainer
NimletException
- If an error occur when dettaching the entity from the
Container. This error usually occurs when the system has
not been configured properly.public Entity getEntityFromSession()
public HttpNimletDriver getNimletDriver()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.