| Home >> All >> org >> enhydra >> servlet >> [ filter Javadoc ] |
org.enhydra.servlet.filter: Javadoc index of package org.enhydra.servlet.filter.
Package Samples:
org.enhydra.servlet.filter
Classes:
MultiServerFilter: This is the base class for filters specified by the administrator in the MultiServer config file. Any filter specified in the MultiServer config file must have two propeties: it must implement the TransactionFilter interface, and it must have a constructor that takes a string and a KeywordValueTable. This abstract class provides these for you, which is why it is recommended that you extend this class if you need to write your own filter for the MultiServer. However, it is possible that a filter absolutly must extend some other class (for example, the RMI connection method can not extend StandardConnectionMethod ...
Filter: This replaces the BasicTransactionFilter. Also note that the BasicTransactionServlet is no longer used and that it is functionally replaced by implementing the org.apache.tomcat.core.LifecycleInterceptor and org.apache.tomcat.core.ServiceInterceptor. There is no interface defined for this, since this is a temporary halfway point between the old Enhydra TransactionFilter and the future Tomcat Interceptors. Extend this class to create a filter with additional attributes. The object model is not currently very clean because we need to bridge between the Interceptor model of Tomcat for service(), init(), ...
RequestFilter: This replaces the BasicTransactionRequest. This is part of the basic transaction filter. This is what wraps around the servlet request object. This class does nothing, every single call is a pass-through to the real request. This class exists so that it can be extended. You would then only need to override the methods you are interested in. All the other calls will be passed through by this class.
FilterManager: This class maintains a set of Filters. Each filter is associated with an identification string (symbolic name). This ID string is used to retrieve a filter. This class does not monitor the creation of filters. If you create one, you are responsible for adding it to this class. These public methods are the only things that modify the set of filters managed by this class.
StandardLoggingFilter: This is the standard logging filter that is used with the MultiServer. It uses the standard logging facility to log the basic information about each request and response. The text is written to the MultiServer facility, at the REQUEST level.
StandardLoggingServiceInterceptor: This is part of the BasicTransactionFilter. This is a filter that logs information in a standard format so that tools like Web Analyzer can easily parse the data. Every call is passed through to the real Servlet.
PrintTransactionFilter: An implementation of TransactionFilter that logs everything the Servlet does to a given OutputStream. After logging, the calls are passed through.
ResponseFilter: Base class that is the base class for a filter, allowing it to be accessed as a ResponseAdapter.
PrintTransactionDestroyInterceptor
PrintTransactionInitInterceptor
PrintTransactionInputStream
PrintTransactionOutputStream
PrintTransactionRequest
PrintTransactionResponse
PrintTransactionServiceInterceptor
PrintTransactionStringEnum
StandardLoggingResponse
| Home | Contact Us | Privacy Policy | Terms of Service |