public class DspExtendlet extends Object implements Extendlet
Extendlet) used to parse
DSP files loaded from the classpath.
Note: it assumes the file being loaded is UTF-8. The encoding of the output stream is default to UTF-8, but DSP can change by use of the page directive.
ALLOW_DIRECT_INCLUDE| Constructor and Description |
|---|
DspExtendlet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(int feature)
Returns if the specified feature is supported.
|
void |
init(ExtendletConfig config)
Initializes the resource processor.
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
Process the specified request.
|
public void init(ExtendletConfig config)
Extendletpublic boolean getFeature(int feature)
ExtendletgetFeature in interface Extendletpublic void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
throws javax.servlet.ServletException,
IOException
Extendletservice in interface Extendletpath - the path mapped to this resource processor.javax.servlet.ServletExceptionIOExceptionCopyright © 2021. All rights reserved.