This class represents a Stomp Frame Interface
category | Zend |
---|---|
package | Zend_Queue |
subpackage | Stomp |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
fromFrame(string $frame) : \Zend_Queue_Stomp_FrameInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
string
\Zend_Queue_Stomp_FrameInterface
getAutoContentLength() : boolean
If AutoContentLength is true this code will automatically put the content-length header in, even if it is already set by the user.
This is done to make the message sending more reliable.
boolean
getBody() : \Zend_Queue_Stomp_FrameInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
\Zend_Queue_Stomp_FrameInterface
getCommand() : \Zend_Queue_Stomp_FrameInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
\Zend_Queue_Stomp_FrameInterface
getHeader(string $header) : \$string
string
\Zend_Queue_Exception |
---|
\$string
getHeaders() : array
array
setAutoContentLength(boolean $auto) : \$this;
Set the value on or off.
boolean
\Zend_Queue_Exception |
---|
\$this;
setBody(string|null $body) : \Zend_Queue_Stomp_FrameInterface
Set to null for no body.
fluent | This method is part of a fluent interface and will return the same instance |
---|
string
null
\Zend_Queue_Exception |
---|
\Zend_Queue_Stomp_FrameInterface
setCommand($command) : \Zend_Queue_Stomp_FrameInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
\Zend_Queue_Exception |
---|
\Zend_Queue_Stomp_FrameInterface
setHeader(string $header, string $value) : \Zend_Queue_Stomp_FrameInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
string
string
\Zend_Queue_Exception |
---|
\Zend_Queue_Stomp_FrameInterface
setHeaders(array $headers) : \Zend_Queue_Stomp_FrameInterface
Throws an exception if the array values are not strings.
fluent | This method is part of a fluent interface and will return the same instance |
---|
array
\Zend_Queue_Exception |
---|
\Zend_Queue_Stomp_FrameInterface
toFrame() : string
\Zend_Queue_Exception |
---|
string