|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IContext
Provides context data
| Field Summary | |
|---|---|
static String |
COPYRIGHT
The HATSCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file. |
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Returns the specified attribute. |
Enumeration |
getAttributeNames()
Returns a list of attribute names. |
String |
getContextName()
Returns the application name. |
String |
getInitParameter(String name)
Retrieve the specified initialization parameter. |
Enumeration |
getInitParameterNames()
Returns an Enumeration of initialization parameter names. |
String |
getRealPath(String arg0)
Retrieve the real path. |
IRequestDispatcher |
getRequestDispatcher(String arg0)
Get the Request dispatcher associated with the resource in input |
InputStream |
getResourceAsStream(String resource)
Retrieve the specified resource as a stream. |
InputStream |
getResourceAsStream(String[] resources)
Retrieve the specified resource as a stream. |
void |
log(String arg0)
Add the specified information to the log. |
void |
log(String arg0,
Throwable arg1)
Logs exception information. |
void |
removeAttribute(String name)
Removes the specified attribute. |
void |
setAttribute(String name,
Object value)
Sets the specified attribute. |
| Field Detail |
|---|
static final String COPYRIGHT
| Method Detail |
|---|
InputStream getResourceAsStream(String resource)
resource - The resource to retrieve as a stream. This value cannot be null.
IllegalArgumentExceptionInputStream getResourceAsStream(String[] resources)
resources - The ordered resource place options to retrieve as a stream. This value cannot be null.
IllegalArgumentExceptionIRequestDispatcher getRequestDispatcher(String arg0)
arg0 - Input parameter used to specify the request dispatcher.
void log(String arg0)
arg0 - The log entry.
void log(String arg0,
Throwable arg1)
arg0 - The information to log.arg1 - The exception information to log.String getRealPath(String arg0)
arg0 - The real path to retrieve.
String getInitParameter(String name)
name - The name of the initialization parameter to retrieve. This value cannot be null.
Enumeration getInitParameterNames()
Object getAttribute(String name)
name - The name of the attribute to retrieve. This value cannot be null.
Enumeration getAttributeNames()
void setAttribute(String name,
Object value)
name - The name of the attribute to be set. This value cannot be null.value - The value to be used in setting the named attribute. This value cannot be null.void removeAttribute(String name)
name - The name of the attribute to be removed. This value cannot be null.
IllegalArgumentExceptionString getContextName()
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||