Services_Webservices
[ class tree: Services_Webservices ] [ index: Services_Webservices ] [ all elements ]

Class: Services_Webservice_ReST

Source Location: /Services_Webservice-0.6.0/vacation/Webservice/ReST.php

Class Overview

Services_Webservice
   |
   --Services_Webservice_Common
      |
      --Services_Webservice_ReST

Services_Webservice implementation for ReST backend


Author(s):

Version:

  • @version@

Methods


Inherited Variables

Inherited Methods

Class: Services_Webservice_Common

Services_Webservice_Common::_handle()
Handles the method call itself

Class: Services_Webservice

Services_Webservice::__construct()
Constructor
Services_Webservice::factory()
Returns a Services_Webservice server instance to handle incoming requests.
Services_Webservice::handle()
Automatically handles the incoming request
Services_Webservice::init()
Initializes web service

Class Details

[line 41]
Services_Webservice implementation for ReST backend

The method call is done through PATH_INFO

The PEAR::Services_Webservice class creates web services from your classes



[ Top ]


Method Detail

handle   [line 56]

void handle( )

Automatically handles the incoming request

The result depends on how the service was called If a method name is passed as the PATH_INFO, it is used to call it. If the method was not exposed as a web service method, a 404 HTTP status is returned. Otherwise, returns an HTML information page.

  • Todo: Fix the passing of parameters to the user's class constructor
  • Todo: Add payload to method calls
  • Access: public

Overrides Services_Webservice::handle() (Automatically handles the incoming request)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:45:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.