NAME

Para::Frame::URI - Represent an URI

DESCRIPTION

Represents an URI. This is a wrapper for URI and URI::QueryParam that redirects calls to those classes. This class is extendable by subclasses and it's integrated with Para::Frame::File.

new

Wrapper for URI/new

as_html

  $uri->as_html( \%attrs )

Supported attrs are:

  label
  ... anything taken by jump

sysdesig

  $uri->sysdesig()

The designation of an object, to be used for node administration or debugging.

as_string

  $uri->as_string()

See URI/as_string

eq

  $uri->eq($uri2)

See URI/as_string

desig

  $uri->desig()

The designation of an object, to be used for node administration or debugging.

new_abs

See URI/new_abs

clone

See URI/clone

getset

Used by most get/set wrapper methods

scheme

See URI/scheme

opaque

See URI/opaque

path

See URI/path

fragment

See URI/fragment

canonical

See URI/canonical

abs

See URI/abs

rel

See URI/rel

authority

See URI/authority

path_query

See URI/path_query

path_segments

See URI/path_segments

query

See URI/query

query_form

See URI/query_form

query_keywords

See URI/query_keywords

userinfo

See URI/userinfo

host

See URI/host

port

See URI/port

host_port

See URI/host_port

default_port

See URI/default_port

getset_query

Used by query get/set wrapper methods

query_param

See URI/query_param

query_param_append

See URI/query_param_append

query_param_delete

See URI/query_param_delete

query_form_hash

Example:

  $uri->query_form_hash( store_params );

See URI/query_form_hash and Para::Frame::Utils/store_params

retrieve

  $uri->retrieve()

Does a GET request by LWP::UserAgent.

Makes sure that the scheme module is loaded. (Since the object may have been created in another process.)

Returns: A HTTP::Response object

Consider using Para::Frame::Utils/retrieve_from_url instead.

Or call this with the code: my( $res ) = Para::Frame::Worker->method($uri, 'retrieve');

clear_special_params

  $url->clear_special_params

jump

  $url->jump( $label, \%attrs )

AUTHOR

Jonas Liljegren <jonas@paranormal.se>

SEE ALSO

Para::Frame, URI, URI::QueryParam, Para::Frame::File