1docs::api::Apache2::FilUtseerrReCco(n3t)ributed Perl Docduomcesn:t:aatpiio:n:Apache2::FilterRec(3)
2
3
4

NAME

6       Apache2::FilterRec - Perl API for manipulating the Apache filter record
7

Synopsis

9         use Apache2::Filter ();
10         use Apache2::FilterRec ();
11
12         my $frec = $filter->frec;
13         print "filter name is:", $frec->name;
14

Description

16       "Apache2::FilterRec" provides an access to the filter record structure.
17
18       The "Apache2::FilterRec" object is retrieved by calling "frec()":
19
20         $frec = $filter->frec;
21

API

23       "Apache2::FilterRec" provides the following functions and/or methods:
24
25   "name"
26       The registered name for this filter
27
28         $name = $frec->name();
29
30       obj: $frec ( "Apache2::FilterRec object" )
31       ret: $name (string)
32       since: 2.0.00
33
34       mod_perl filters have four names:
35
36         modperl_request_output
37         modperl_request_input
38         modperl_connection_output
39         modperl_connection_input
40
41       You can see the names of the non-mod_perl filters as well. By calling
42       "$filter->next->frec->name" you can get the name of the next filter in
43       the chain.
44
45       Example:
46
47       Let's print the name of the current and the filter that follows it:
48
49         use Apache2::Filter ();
50         use Apache2::FilterRec ();
51         for my $frec ($filter->frec, $filter->next->frec) {
52             print "Name: ", $frec->name;
53         }
54

See Also

56       mod_perl 2.0 documentation.
57
59       mod_perl 2.0 and its core modules are copyrighted under The Apache
60       Software License, Version 2.0.
61

Authors

63       The mod_perl development team and numerous contributors.
64
65
66
67perl v5.32.0                      2020-07-28  docs::api::Apache2::FilterRec(3)
Impressum