java.lang.Object | ||
↳ | com.microstrategy.web.platform.AbstractConfigurableContainerServices | |
↳ | com.microstrategy.web.platform.HttpServletContainerServices |
![]() |
This is the implementation class for the ContainerServices
interface
when application is running in the Java Web Container environment.
This class should ONLY be called and known to by the Main Servlet class and the Tag Libaries.
In the ASPx environment, Web applications should implement another
interface DisconnectedContainerServices
and are encouraged to extend
the reference implementation DisconnectedContainerServicesImpl
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HttpServletContainerServices()
Creates a new ServletContainerServices object.
| |||||||||||
HttpServletContainerServices(boolean hasOutputStream) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addCookieToResponse(GenericCookie cookie) | ||||||||||
String | getAppServerInfo() | ||||||||||
Object | getApplicationAttribute(String name) | ||||||||||
String |
getApplicationPath()
This method returns the application full path of the servlet
| ||||||||||
int | getCodePage() | ||||||||||
String | getContextPath() | ||||||||||
String | getControllerName() | ||||||||||
ContainerStringCollection | getCookieStrings(ContainerServicesNamespace namespace) | ||||||||||
ContainerStringCollection | getCookieStrings() | ||||||||||
ContainerStringCollection | getFormAndQueryStrings() | ||||||||||
String | getHeaderValue(String headerName) | ||||||||||
String | getMethod() | ||||||||||
MultipartRequest |
getMultipartRequest()
This method is deprecated.
this is only used internally by MicroStrategy methods, and may not be visible in future releases
| ||||||||||
OutputStream | getOutputStream() | ||||||||||
PostedFile | getPostedFile(String name) | ||||||||||
String | getQueryString() | ||||||||||
String | getRealPath(String relPath) | ||||||||||
String | getRemoteAddress() | ||||||||||
HttpServletRequest |
getRequest()
This method retrieves the HttpServletRequest object associated with this
class.
| ||||||||||
Object | getRequestAttribute(String name) | ||||||||||
String | getRequestServerName() | ||||||||||
URL | getResource(String relPath) | ||||||||||
InputStream | getResourceAsStream(String relPath) | ||||||||||
Set<String> | getResourcePaths(String relPath) | ||||||||||
HttpServletResponse |
getResponse()
This method retrieves the HttpServletResponse object associated with this
class.
| ||||||||||
ContainerStringCollection | getServerVariables() | ||||||||||
ServletConfig | getServletConfig() | ||||||||||
ServletContext |
getServletContext()
This method retrieves the ServletContext object associated with this
class.
| ||||||||||
HttpSession |
getSession()
This method retrieves the HttpSession object associated with this
class.
| ||||||||||
Object | getSessionAttribute(String name, ContainerServicesNamespace namespace) | ||||||||||
Object | getSessionAttribute(String name) | ||||||||||
String | getSessionID() | ||||||||||
int | getSessionMaxIdleTime() | ||||||||||
ContainerStringCollection | getSessionStrings() | ||||||||||
ContainerStringCollection | getSessionStrings(ContainerServicesNamespace namespace) | ||||||||||
int | getStatusCode() | ||||||||||
boolean | hasOutputStream() | ||||||||||
void | invalidateHttpSession() | ||||||||||
boolean |
isJavaURLSessionSupported()
Indicates if the instance of this container services supports cookieless environments
| ||||||||||
boolean | isRequestSecure() | ||||||||||
boolean | isSessionlessRequest() | ||||||||||
void | sendBinaryContent(MarkupOutput mo) | ||||||||||
boolean | sendError(int sc, String msg) | ||||||||||
boolean | sendError(int sc) | ||||||||||
void | setApplicationAttribute(String name, Object value) | ||||||||||
void | setCodePage(int code) | ||||||||||
void | setContentType(String type) | ||||||||||
void | setHeaderValue(String name, String value) | ||||||||||
void |
setJavaURLSessionSupported(boolean value)
Sets if the instance of this container services supports cookieless environments
| ||||||||||
void |
setRequest(HttpServletRequest request)
This method sets the HttpServletRequest object which is to be associated
with this class.
| ||||||||||
void | setRequestAttribute(String name, Object value) | ||||||||||
void |
setResponse(HttpServletResponse response)
This method sets the HttpServletResponse object which is to be associated
with this class.
| ||||||||||
void | setServletConfig(ServletConfig newValue) | ||||||||||
void |
setServletContext(ServletContext servletContext)
This method sets the ServletContext object which is to be associated
with this class.
| ||||||||||
void |
setSession(HttpSession session)
This method sets the HttpSession object which is to be associated
with this class.
| ||||||||||
void | setSessionAttribute(String name, Object value, ContainerServicesNamespace namespace) | ||||||||||
void | setSessionAttribute(String name, Object value) | ||||||||||
void | setStatusCode(int statusCode) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HashList | getCookies(ContainerServicesNamespace namespace) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new ServletContainerServices object.
This method returns the application full path of the servlet
String
that indicates the full application path of the servlet. (i.e. http://localhost:8080/MicroStrategy/servlet/)
This method is deprecated.
this is only used internally by MicroStrategy methods, and may not be visible in future releases
This method retrieves the HttpServletRequest object associated with this class.
HttpServletRequest
object.
This method retrieves the HttpServletResponse object associated with this class.
HttpServletResponse
object.
This method retrieves the ServletContext object associated with this class.
ServletContext
object.
This method retrieves the HttpSession object associated with this class.
HttpSession
object.
Indicates if the instance of this container services supports cookieless environments
Sets if the instance of this container services supports cookieless environments
This method sets the HttpServletRequest object which is to be associated with this class.
request | A HttpServletRequest object.
|
---|
This method sets the HttpServletResponse object which is to be associated with this class.
response | A HttpServletResponse object.
|
---|
This method sets the ServletContext object which is to be associated with this class.
servletContext | A ServletContext object.
|
---|
This method sets the HttpSession object which is to be associated with this class.
session | A HttpSession object.
|
---|