C++ API Library Reference  4.3.2-74-ge1d4cca
Public Functions | List of all members
RequestInfo Class Reference

The RequestInfo class represents information about a request in terms of session ID, destination, content, and parameters.

Public Functions

ContentInfo const & Content () const
 
String const & Destination () const
 
bool IsEmpty () const
 
Collections::IMap< String, String > const & Parameters () const
 
Guid SessionId () const
 
Constructors and Destructors
 RequestInfo ()
 
 RequestInfo (Guid const &sessionId, String const &destination, ContentInfo const &content, Collections::IMap< String, String > const &parameters)
 
 RequestInfo (Guid const &sessionId, String const &destination, ContentInfo const &content)
 
 ~RequestInfo ()
 

Usage Description

ContentInfo const& Content ( ) const
inline

Returns the content of the request.

String const& Destination ( ) const
inline

Returns the destination of the request. This is the name of the request handler, as provided at the time of registration. See RegisterRequestHandler.

bool IsEmpty ( ) const
inline

Returns a Boolean value that indicates whether the request is empty.

Collections::IMap<String, String> const& Parameters ( ) const
inline

Returns the parameters of the request, or null if there are none.

Guid SessionId ( ) const
inline

Returns the ID of the session from where the request originated.