The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GX::HTTP::Cookie - HTTP cookie base class

SYNOPSIS

None.

DESCRIPTION

This module provides the GX::HTTP::Cookie class which extends the GX::Class::Object class.

METHODS

Constructor

new

This class is not meant to be instantiated. See GX::HTTP::Request::Cookie and GX::HTTP::Response::Cookie instead.

Public Methods

domain

Returns / sets the value of the cookie's "Domain" attribute.

    $domain = $cookie->domain;
    $domain = $cookie->domain( $domain );
Arguments:
  • $domain ( string | undef ) [ optional ]

Returns:
  • $domain ( string | undef )

name

Returns / sets the name of the cookie.

    $name = $cookie->name;
    $name = $cookie->name( $name );
Arguments:
  • $name ( string | undef ) [ optional ]

Returns:
  • $name ( string | undef )

path

Returns / sets the value of the cookie's "Path" attribute.

    $path = $cookie->path;
    $path = $cookie->path( $path );
Arguments:
  • $path ( string | undef ) [ optional ]

Returns:
  • $path ( string | undef )

port

Returns / sets the value of the cookie's "Port" attribute.

    $port = $cookie->port;
    $port = $cookie->port( $port );
Arguments:
  • $port ( string | undef ) [ optional ]

Returns:
  • $port ( string | undef )

value

Returns / sets the cookie value.

    $value = $cookie->value;
    $value = $cookie->value( $value );
Arguments:
  • $value ( string | undef ) [ optional ]

Returns:
  • $value ( string | undef )

version

Returns / sets the value of the cookie's "Version" attribute.

    $version = $cookie->version;
    $version = $cookie->version( $version );
Arguments:
  • $version ( string | undef ) [ optional ]

Returns:
  • $version ( string | undef )

SUBCLASSES

The following classes inherit directly from GX::HTTP::Cookie:

SEE ALSO

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

Copyright (c) 2009-2011 Jörg A. Uzarek.

This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.