| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Processor ManagementBean, just defines a generic description
| Method Summary | |
 java.lang.String | 
getName()
 | 
 java.lang.String | 
notFoundElement(java.lang.String path,
                HttpOutputStream out,
                HttpInputStream in)
Let the processor load internally a not found element.  | 
 java.lang.String | 
preProcess(java.lang.String path)
Preprocess a path and return a replacement path.  | 
 void | 
writeError(HttpOutputStream out,
           HttpInputStream in,
           java.lang.Exception e)
The method will process the result exception and produce output.  | 
 void | 
writeResponse(HttpOutputStream out,
              HttpInputStream in,
              org.w3c.dom.Document document)
The method will process the result string and produce an output.  | 
| Method Detail | 
public java.lang.String getName()
public void writeResponse(HttpOutputStream out,
                          HttpInputStream in,
                          org.w3c.dom.Document document)
                   throws java.io.IOException
 out.setCode(HttpConstants.STATUS_OKAY);
 out.setHeader("Content-type", "text/html");
 out.sendHeaders();
 out.write("some text");
 
out - The output streamin - The input streamdocument - A document containing the data
java.io.IOException
public void writeError(HttpOutputStream out,
                       HttpInputStream in,
                       java.lang.Exception e)
                throws java.io.IOException
 out.setCode(HttpConstants.STATUS_OKAY);
 out.setHeader("Content-type", "text/html");
 out.sendHeaders();
 out.write("some text");
 
out - The output streamin - The input streame - The exception to be reported
java.io.IOExceptionpublic java.lang.String preProcess(java.lang.String path)
path - The original path
public java.lang.String notFoundElement(java.lang.String path,
                                        HttpOutputStream out,
                                        HttpInputStream in)
                                 throws java.io.IOException,
                                        HttpException
path - The request elementout - The output streamin - The input stream
java.io.IOException
HttpException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||