Class SimpleEntityEncoding

Description

Bundles an entity-body for transporting a raw content payload with the request.

Located in /encoding.php (line 441)

SimpleEncoding
   |
   --SimpleEntityEncoding
Direct descendents
Class Description
 class SimplePostEncoding Bundle of POST parameters. Can include repeated parameters.
 class SimplePutEncoding Encoded entity body for a PUT request.
Method Summary
 SimpleEntityEncoding __construct ([ $query = false], [ $content_type = false])
 Encoded encode ()
 string getContentType ()
 void writeHeadersTo ( &$socket, SimpleSocket $socket)
 void writeTo ( &$socket, SimpleSocket $socket)
Methods
Constructor __construct (line 445)
SimpleEntityEncoding __construct ([ $query = false], [ $content_type = false])
  • $query
  • $content_type

Redefinition of:
SimpleEncoding::__construct()
Starts empty.

Redefined in descendants as:
encode (line 491)

Renders the request body

  • return: entity body
  • access: protected
Encoded encode ()

Redefinition of:
SimpleEncoding::encode()
Renders the query string as a URL encoded request part.

Redefined in descendants as:
getContentType (line 460)

Returns the media type of the entity body

  • access: public
string getContentType ()
writeHeadersTo (line 472)

Dispatches the form headers down the socket.

  • access: public
void writeHeadersTo ( &$socket, SimpleSocket $socket)

Redefined in descendants as:
writeTo (line 482)

Dispatches the form data down the socket.

  • access: public
void writeTo ( &$socket, SimpleSocket $socket)

Redefined in descendants as:

Inherited Methods

Inherited From SimpleEncoding

 SimpleEncoding::__construct()
 SimpleEncoding::add()
 SimpleEncoding::addPair()
 SimpleEncoding::attach()
 SimpleEncoding::clear()
 SimpleEncoding::encode()
 SimpleEncoding::getAll()
 SimpleEncoding::getValue()
 SimpleEncoding::merge()

Documentation generated on Sun, 31 Oct 2010 16:31:20 -0500 by phpDocumentor 1.4.3