| lsid-perl documentation | view source | Contained in the lsid-perl distribution. |
LS::Client::HTTP - Implements the HTTP protocol specific calls for invoking an LSID service
use LS::ID;
use LS::Client::HTTP;
$lsid = LS::ID->new('URN:LSID:pdb.org:PDB:112L:');
$client = LS::Client::HTTP->new();
$metadata = $client->getMetadata(url=> 'http://someauthority.org:8080/authority/metadata',
lsid=> $lsid);
LS::Client::HTTP provides wrapper methods to invoke an
LSID service in a protocol specific manner as defined by
http://www.omg.org/cgi-bin/doc?dtc/04-05-01.
The following method is used to construct a new LS::Client::HTTP object:
This class method creates a new <LS::Client::HTTP> object.
Examples:
$http = LS::Client::HTTP->new()
if (!$http) {
print STDERR "Unable to create protocol object!";
}
LS::Client::HTTP supports the following methods:
Generic method used to retrieve data from the specified URL.
Invokes the getData service method (if available) and returns any data
from the authority.
Invokes getDataByRange, see getData for more information.
Invokes getMetadata, see getData for more information.
Invokes getMetadataSubset, see getData for more information.
Copyright (c) 2002,2003 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.opensource.org/licenses/cpl.php
| lsid-perl documentation | view source | Contained in the lsid-perl distribution. |