line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- cperl; cperl-indent-level: 4 -*- |
2
|
|
|
|
|
|
|
# Copyright (C) 2010-2021, Roland van Ipenburg |
3
|
|
|
|
|
|
|
package WWW::Wookie v1.1.4; |
4
|
1
|
|
|
1
|
|
91903
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
20
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
554
|
use utf8; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
4
|
|
8
|
1
|
|
|
1
|
|
34
|
use 5.020000; |
|
1
|
|
|
|
|
3
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding utf8 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=for stopwords Bitbucket Wookie Readonly URI PHP Ipenburg MERCHANTABILITY |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
WWW::Wookie - Apache Wookie Connector Framework implementation |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 VERSION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This document describes WWW::Wookie version C<v1.1.4>, which is probably the |
25
|
|
|
|
|
|
|
latest version because the Wookie project is retired |
26
|
|
|
|
|
|
|
L<http://attic.apache.org/projects/wookie.html> |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
use WWW::Wookie::Connector::Service; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$w = WWW::Wookie::Connector::Service->new( |
33
|
|
|
|
|
|
|
$SERVER, $API_KEY, $SHARED_DATA_KEY, $USER |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
@available_widgets = $w->getAvailableWidgets; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This is a Perl implementation of the Wookie Connector Framework. For more |
40
|
|
|
|
|
|
|
information see: L<http://wookie.apache.org|http://wookie.apache.org> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The Wookie Connector Framework is supposed to connect to a Wookie server, see |
47
|
|
|
|
|
|
|
L<http://wookie.apache.org|http://wookie.apache.org>. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=over 4 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * L<Exception::Class|Exception::Class> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * L<HTTP::Headers|HTTP::Headers> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * L<HTTP::Request|HTTP::Request> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * L<HTTP::Request::Common|HTTP::Request::Common> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * L<HTTP::Status|HTTP::Status> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * L<LWP::UserAgent|LWP::UserAgent> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * L<Moose|Moose> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * L<Moose::Role|Moose::Role> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * L<Moose::Util::TypeConstraints|Moose::Util::TypeConstraints> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * L<Readonly|Readonly> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * L<Regexp::Common|Regexp::Common> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * L<URI|URI> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * L<URI::Escape|URI::Escape> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * L<XML::Simple|XML::Simple> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * L<namespace::autoclean|namespace::autoclean> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * L<Test::More|Test::More> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * L<Test::NoWarnings|Test::NoWarnings> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=back |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
This is a port based on the PHP version of the Wookie Connector Framework, not |
92
|
|
|
|
|
|
|
a port of the reference Java version of the Wookie Connector Framework. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This module uses L<Log::Log4perl|Log::Log4perl> for logging when resurrected. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Please report any bugs or feature requests at |
101
|
|
|
|
|
|
|
L<Bitbucket|https://bitbucket.org/rolandvanipenburg/www-wookie/issues>. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 AUTHOR |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Roland van Ipenburg, E<lt>roland@rolandvanipenburg.comE<gt> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Copyright 2010-2021 by Roland van Ipenburg |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
112
|
|
|
|
|
|
|
it under the same terms as Perl itself, either Perl version 5.14.0 or, |
113
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTY |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
118
|
|
|
|
|
|
|
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
119
|
|
|
|
|
|
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
120
|
|
|
|
|
|
|
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER |
121
|
|
|
|
|
|
|
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
122
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE |
123
|
|
|
|
|
|
|
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH |
124
|
|
|
|
|
|
|
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
125
|
|
|
|
|
|
|
NECESSARY SERVICING, REPAIR, OR CORRECTION. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
128
|
|
|
|
|
|
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
129
|
|
|
|
|
|
|
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE |
130
|
|
|
|
|
|
|
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, |
131
|
|
|
|
|
|
|
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE |
132
|
|
|
|
|
|
|
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
133
|
|
|
|
|
|
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
134
|
|
|
|
|
|
|
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
135
|
|
|
|
|
|
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
136
|
|
|
|
|
|
|
SUCH DAMAGES. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |