Package pyamf :: Package remoting :: Package gateway :: Module wsgi :: Class WSGIGateway

[hide private]
[frames] | no frames]

# Class WSGIGateway

source code

WSGI Remoting Gateway.

Nested Classes | [hide private]

Inherited from `BaseGateway` (private): `_request_class`

Instance Methods | [hide private]

Envelope

getResponse(self, request, environ) Processes the AMF request, returning an AMF response. | source code

badRequestMethod(self, environ, start_response) Return HTTP 400 Bad Request. | source code

`StringIO`

__call__(self, environ, start_response) Returns: File-like object. | source code

Inherited from `BaseGateway`: `__init__`, `addService`, `authenticateRequest`, `callServiceRequest`, `getAuthenticator`, `getPreprocessor`, `getProcessor`, `getServiceRequest`, `mustExposeRequest`, `preprocessRequest`, `removeService` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]

Inherited from `BaseGateway`: `debug`

Instance Variables | [hide private]

Inherited from `BaseGateway`: `authenticator`, `preprocessor`, `services`, `strict`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### getResponse(self, request, environ)

source code

Processes the AMF request, returning an AMF response.

Parameters:
  - `request` (Envelope) - The AMF Request.
Returns: Envelope
  The AMF Response.
Overrides: BaseGateway.getResponse

### __call__(self, environ, start_response)
(Call operator)

source code

Returns: `StringIO`
  File-like object.