1Parser(3)             User Contributed Perl Documentation            Parser(3)
2
3
4

NAME

6       APR::Request::Parser - wrapper for libapreq2's parser API.
7

SYNOPSIS

9         use APR::Request::Parser;
10

DESCRIPTION

12       This manpage documents version 2.09 of the APR::Request::Parser pack‐
13       age.
14

METHODS

16       APR::Request::Parser
17
18       generic
19
20           APR::Request::Parser->generic($pool, $ba, $ct)
21           APR::Request::Parser->generic($pool, $ba, $ct, $blim)
22           APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir)
23           APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir, $hook)
24
25       Noop-parser that collects everything into a single, internal parameter.
26       Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object,
27       and $ct is the Content-Type header of the request.  Optionally $blim is
28       the brigade in-memory limit, $tdir is the path to the temporary direc‐
29       tory, and $hook is an APR::Request::Hook object.
30
31       headers
32
33           APR::Request::Parser->headers($pool, $ba, $ct)
34           APR::Request::Parser->headers($pool, $ba, $ct, $blim)
35           APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir)
36           APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir, $hook)
37
38       RFC 822 header parser.  Here $pool is an APR::Pool object, $ba is an
39       APR::BucketAlloc object, and $ct is the Content-Type header of the
40       request.  Optionally $blim is the brigade in-memory limit, $tdir is the
41       path to the temporary directory, and $hook is an APR::Request::Hook
42       object.
43
44       urlencoded
45
46           APR::Request::Parser->urlencoded($pool, $ba, $ct)
47           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim)
48           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir)
49           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir, $hook)
50
51       x-www-form-urlencoded parser.  Here $pool is an APR::Pool object, $ba
52       is an APR::BucketAlloc object, and $ct is the Content-Type header of
53       the request.  Optionally $blim is the brigade in-memory limit, $tdir is
54       the path to the temporary directory, and $hook is an APR::Request::Hook
55       object.
56
57       multipart
58
59           APR::Request::Parser->multipart($pool, $ba, $ct)
60           APR::Request::Parser->multipart($pool, $ba, $ct, $blim)
61           APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir)
62           APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir, $hook)
63
64       Multipart parser.  Here $pool is an APR::Pool object, $ba is an
65       APR::BucketAlloc object, and $ct is the Content-Type header of the
66       request.  Optionally $blim is the brigade in-memory limit, $tdir is the
67       path to the temporary directory, and $hook is an APR::Request::Hook
68       object.
69
70       default
71
72           APR::Request::Parser->default($pool, $ba, $ct)
73           APR::Request::Parser->default($pool, $ba, $ct, $blim)
74           APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir)
75           APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir, $hook)
76
77       Default parser.  Here $pool is an APR::Pool object, $ba is an
78       APR::BucketAlloc object, and $ct is the Content-Type header of the
79       request.  Optionally $blim is the brigade in-memory limit, $tdir is the
80       path to the temporary directory, and $hook is an APR::Request::Hook
81       object.
82

SEE ALSO

84       APR::Request, APR::Request::Hook
85
87         Licensed to the Apache Software Foundation (ASF) under one or more
88         contributor license agreements.  See the NOTICE file distributed with
89         this work for additional information regarding copyright ownership.
90         The ASF licenses this file to You under the Apache License, Version 2.0
91         (the "License"); you may not use this file except in compliance with
92         the License.  You may obtain a copy of the License at
93
94             http://www.apache.org/licenses/LICENSE-2.0
95
96         Unless required by applicable law or agreed to in writing, software
97         distributed under the License is distributed on an "AS IS" BASIS,
98         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
99         See the License for the specific language governing permissions and
100         limitations under the License.
101
102
103
104perl v5.8.8                       2007-10-25                         Parser(3)
Impressum