Classes | |
class | wso2wsf::MessageContext |
Class MessageContext captures all state information related to a message invocation. It holds information on the service and operation to be invoked as well as context hierarchy information related to the service and operation. It also has information on transports, that are to be used in invocation. The phase information is kept, along with the phase at which message invocation was paused as well as the handler in the phase from which the invocation is to be resumed.Message context would hold the request SOAP message along the out path and would capture response along the in path. Message context also has information on various engine specific information, such as if it should be doing MTOM, REST. As message context is inherited form context, it has the capability of storing user defined properties. In addition to the methods exposed by the MessageContex class, the underlying axis2 level message context can also be accessed if required. More... | |
Functions | |
WSF_EXTERN | wso2wsf::MessageContext::MessageContext (axis2_msg_ctx_t *_msg_ctx) |
WSF_EXTERN axis2_msg_ctx_t * | wso2wsf::MessageContext::getAxis2MessageContext () |
WSF_EXTERN bool | wso2wsf::MessageContext::setAxis2MessageContext (axis2_msg_ctx_t *msg_ctx) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getFaultTo () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getFrom () |
WSF_EXTERN bool | wso2wsf::MessageContext::getInFaultFlow () |
WSF_EXTERN OMElement * | wso2wsf::MessageContext::getSoapEnvelope () |
WSF_EXTERN OMElement * | wso2wsf::MessageContext::getResponseSoapEnvelope () |
WSF_EXTERN OMElement * | wso2wsf::MessageContext::getFaultSoapEnvelope () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getMessageId () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getReplyTo () |
WSF_EXTERN bool | wso2wsf::MessageContext::getProcessFault () |
WSF_EXTERN bool | wso2wsf::MessageContext::getServerSide () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getTo () |
WSF_EXTERN bool | wso2wsf::MessageContext::setFaultTo (std::string toUri) |
WSF_EXTERN bool | wso2wsf::MessageContext::setFrom (std::string fromUri) |
WSF_EXTERN bool | wso2wsf::MessageContext::setInFaultFlow (bool inFault) |
WSF_EXTERN bool | wso2wsf::MessageContext::setReplyTo (std::string replyToUri) |
WSF_EXTERN bool | wso2wsf::MessageContext::setServerSide (bool serverSide) |
WSF_EXTERN bool | wso2wsf::MessageContext::setTo (std::string toUri) |
WSF_EXTERN bool | wso2wsf::MessageContext::getNewThreadRequired () |
WSF_EXTERN bool | wso2wsf::MessageContext::setNewThreadRequired (bool newThreadRequired) |
WSF_EXTERN bool | wso2wsf::MessageContext::setWSAAction (std::string actionUri) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getWSAAction () |
WSF_EXTERN bool | wso2wsf::MessageContext::setWSAMessageId (std::string messageId) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getWSAMessageId () |
WSF_EXTERN bool | wso2wsf::MessageContext::getPaused () |
WSF_EXTERN bool | wso2wsf::MessageContext::setPaused (bool paused) |
WSF_EXTERN bool | wso2wsf::MessageContext::isKeepAlive () |
WSF_EXTERN bool | wso2wsf::MessageContext::setKeepAlive (bool keepAlive) |
WSF_EXTERN bool | wso2wsf::MessageContext::getOutputWritten () |
WSF_EXTERN bool | wso2wsf::MessageContext::setOutputWritten (bool outputWritten) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getRestHTTPMethod () |
WSF_EXTERN axis2_status_t | wso2wsf::MessageContext::setRESTHTTPMethod (std::string HTTPMethod) |
WSF_EXTERN Parameter * | wso2wsf::MessageContext::getParameter (std::string key) |
WSF_EXTERN Property * | wso2wsf::MessageContext::getProperty (std::string key) |
WSF_EXTERN void * | wso2wsf::MessageContext::getPropertyValue (std::string propStr) |
WSF_EXTERN bool | wso2wsf::MessageContext::setProperty (std::string key, std::string value) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getPausedHandlerName () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getPausedPhaseName () |
WSF_EXTERN bool | wso2wsf::MessageContext::setPausedPhaseName (std::string pausedPhaseName) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getSOAPAction () |
WSF_EXTERN bool | wso2wsf::MessageContext::setSOAPAction (std::string action) |
WSF_EXTERN bool | wso2wsf::MessageContext::getDoingMTOM () |
WSF_EXTERN bool | wso2wsf::MessageContext::setDoingMTOM (bool doingMTOM) |
WSF_EXTERN bool | wso2wsf::MessageContext::getDoingREST () |
WSF_EXTERN bool | wso2wsf::MessageContext::setDoingREST (bool doingREST) |
WSF_EXTERN bool | wso2wsf::MessageContext::setDoRESTThroughPOST (bool doRESTThroughPost) |
WSF_EXTERN bool | wso2wsf::MessageContext::getDoRESTThroughPOST () |
WSF_EXTERN bool | wso2wsf::MessageContext::getManageSession () |
WSF_EXTERN bool | wso2wsf::MessageContext::setManageSession (bool manageSession) |
WSF_EXTERN bool | wso2wsf::MessageContext::getIsSOAP11 () |
WSF_EXTERN bool | wso2wsf::MessageContext::setIsSOAP11 (bool isSOAP11) |
WSF_EXTERN Options * | wso2wsf::MessageContext::getOptions () |
WSF_EXTERN bool | wso2wsf::MessageContext::isPaused () |
WSF_EXTERN bool | wso2wsf::MessageContext::setOptions (Options options) |
WSF_EXTERN bool | wso2wsf::MessageContext::setFlow (int flow) |
WSF_EXTERN int | wso2wsf::MessageContext::getFlow () |
WSF_EXTERN bool | wso2wsf::MessageContext::setSupportedRESTHTTPMethods (std::vector< std::string > *methods) |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::getSupportedRESTHTTPMethods () |
WSF_EXTERN bool | wso2wsf::MessageContext::setCurrentHandlerIndex (int index) |
WSF_EXTERN int | wso2wsf::MessageContext::getCurrentHandlerIndex () |
WSF_EXTERN int | wso2wsf::MessageContext::getPausedHandlerIndex () |
WSF_EXTERN bool | wso2wsf::MessageContext::setCurrentPhaseIndex (int index) |
WSF_EXTERN int | wso2wsf::MessageContext::getCurrentPhaseIndex () |
WSF_EXTERN int | wso2wsf::MessageContext::getPausedPhaseIndex () |
WSF_EXTERN std::string | wso2wsf::MessageContext::getCharsetEncoding () |
WSF_EXTERN bool | wso2wsf::MessageContext::setCharsetEncodingStng (std::string str) |
WSF_EXTERN int | wso2wsf::MessageContext::getStatusCode () |
WSF_EXTERN bool | wso2wsf::MessageContext::setStatusCode (int statusCode) |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::getHTTPAcceptCharsetRecordList () |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::extractHTTPAcceptCharsetRecordList () |
WSF_EXTERN bool | wso2wsf::MessageContext::setHTTPAcceptCharsetRecordList (std::vector< std::string > *recordList) |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::getHTTPAcceptLanguageRecordList () |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::extractHTTPAcceptLanguageRecordList () |
WSF_EXTERN bool | wso2wsf::MessageContext::setHTTPAcceptLanguageRecordList (std::vector< std::string > *acceptLanguageRecordList) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getContentLanguage () |
WSF_EXTERN bool | wso2wsf::MessageContext::setContentLanguage (std::string language) |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::getHTTPAcceptRecordList () |
WSF_EXTERN std::vector < std::string > * | wso2wsf::MessageContext::extractHTTPAcceptRecordList () |
WSF_EXTERN bool | wso2wsf::MessageContext::setHTTPAcceptRecordList (std::vector< std::string > *recordList) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getTransferEncoding () |
WSF_EXTERN bool | wso2wsf::MessageContext::setTransferEncoding (std::string encoding) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getTransportURL () |
WSF_EXTERN bool | wso2wsf::MessageContext::setTransportURL (std::string transportURL) |
WSF_EXTERN bool | wso2wsf::MessageContext::getNoContent () |
WSF_EXTERN bool | wso2wsf::MessageContext::setNoContent (bool noContent) |
WSF_EXTERN bool | wso2wsf::MessageContext::getAuthFailed () |
WSF_EXTERN bool | wso2wsf::MessageContext::setAuthFailed (bool status) |
WSF_EXTERN bool | wso2wsf::MessageContext::getRequiredAuthIsHTTP () |
WSF_EXTERN bool | wso2wsf::MessageContext::setRequiredAuthIsHTTP (bool isHTTP) |
WSF_EXTERN bool | wso2wsf::MessageContext::setAuthType (std::string authType) |
WSF_EXTERN std::string | wso2wsf::MessageContext::getAuthType () |
WSF_EXTERN bool | wso2wsf::MessageContext::incrementRef () |
virtual WSF_EXTERN | wso2wsf::MessageContext::~MessageContext () |
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::extractHTTPAcceptCharsetRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept-Charset records, and removes them from the message context
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::extractHTTPAcceptLanguageRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept-Language records, and removes them from the message context
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::extractHTTPAcceptRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept records, and removes them from the message context
WSF_EXTERN bool wso2wsf::MessageContext::getAuthFailed | ( | ) | [inherited] |
Gets whether an authentication failure occurred
WSF_EXTERN std::string wso2wsf::MessageContext::getAuthType | ( | ) | [inherited] |
Gets the authentication type
WSF_EXTERN axis2_msg_ctx_t* wso2wsf::MessageContext::getAxis2MessageContext | ( | ) | [inherited] |
Returns existing axis2_msg_ctx object
WSF_EXTERN std::string wso2wsf::MessageContext::getCharsetEncoding | ( | ) | [inherited] |
Gets character set encoding to be used.
WSF_EXTERN std::string wso2wsf::MessageContext::getContentLanguage | ( | ) | [inherited] |
Gets the Content Language used
WSF_EXTERN int wso2wsf::MessageContext::getCurrentHandlerIndex | ( | ) | [inherited] |
Gets current handler index, indicating which handler is currently being invoked in the execution chain
WSF_EXTERN int wso2wsf::MessageContext::getCurrentPhaseIndex | ( | ) | [inherited] |
Gets index of the current phase being invoked.
WSF_EXTERN bool wso2wsf::MessageContext::getDoingMTOM | ( | ) | [inherited] |
Gets the boolean value indicating if MTOM is enabled or not.
WSF_EXTERN bool wso2wsf::MessageContext::getDoingREST | ( | ) | [inherited] |
Gets the boolean value indicating if REST is enabled or not.
WSF_EXTERN bool wso2wsf::MessageContext::getDoRESTThroughPOST | ( | ) | [inherited] |
Sets the boolean value indicating if REST should be done through HTTP POST or not.
WSF_EXTERN OMElement* wso2wsf::MessageContext::getFaultSoapEnvelope | ( | ) | [inherited] |
Gets the fault soap envelope
WSF_EXTERN std::string wso2wsf::MessageContext::getFaultTo | ( | ) | [inherited] |
This method returns the WS-Addressing fault to address. Fault to address tells where to send the fault in case there is an error.
WSF_EXTERN int wso2wsf::MessageContext::getFlow | ( | ) | [inherited] |
Gets the flow to be invoked.
WSF_EXTERN std::string wso2wsf::MessageContext::getFrom | ( | ) | [inherited] |
Gets WS-Addressing from endpoint. From address tells where the request came from.
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::getHTTPAcceptCharsetRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept-Charset records.
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::getHTTPAcceptLanguageRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept-Language records.
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::getHTTPAcceptRecordList | ( | ) | [inherited] |
Retrieves HTTP Accept records.
WSF_EXTERN bool wso2wsf::MessageContext::getInFaultFlow | ( | ) | [inherited] |
Checks if there is a SOAP fault on in flow.
WSF_EXTERN bool wso2wsf::MessageContext::getIsSOAP11 | ( | ) | [inherited] |
Gets the bool value indicating the SOAP version being used either SOAP 1.1 or SOAP 1.2
WSF_EXTERN bool wso2wsf::MessageContext::getManageSession | ( | ) | [inherited] |
Gets manage session bool value.
WSF_EXTERN std::string wso2wsf::MessageContext::getMessageId | ( | ) | [inherited] |
Gets message ID.
WSF_EXTERN bool wso2wsf::MessageContext::getNewThreadRequired | ( | ) | [inherited] |
Gets the bool value indicating if it is required to have a new thread for the invocation, or if the same thread of execution could be used.
WSF_EXTERN bool wso2wsf::MessageContext::getNoContent | ( | ) | [inherited] |
Gets whether there was no content in the response. This will cater for a situation where the invoke method in a service returns NULL when no fault has occurred.
WSF_EXTERN Options* wso2wsf::MessageContext::getOptions | ( | ) | [inherited] |
Gets the options to be used in invocation.
WSF_EXTERN bool wso2wsf::MessageContext::getOutputWritten | ( | ) | [inherited] |
Gets the bool value indicating the output written status.
WSF_EXTERN Parameter* wso2wsf::MessageContext::getParameter | ( | std::string | key | ) | [inherited] |
Gets configuration descriptor parameter with given key. This method recursively search the related description hierarchy for the parameter with given key until it is found or the parent of the description hierarchy is reached. The order of search is as follows:
1. search in operation description, if its there return
2. if the parameter is not found in operation or operation is NULL, search in service
3. if the parameter is not found in service or service is NULL search in configuration
key | parameter key |
WSF_EXTERN bool wso2wsf::MessageContext::getPaused | ( | ) | [inherited] |
Gets the bool value indicating the paused status. It is possible to pause the engine invocation by any handler. By calling this method one can find out if some handler has paused the invocation.
WSF_EXTERN int wso2wsf::MessageContext::getPausedHandlerIndex | ( | ) | [inherited] |
Gets paused handler index, indicating at which handler the execution chain was paused.
WSF_EXTERN std::string wso2wsf::MessageContext::getPausedHandlerName | ( | ) | [inherited] |
Gets the QName of the handler at which invocation was paused.
WSF_EXTERN int wso2wsf::MessageContext::getPausedPhaseIndex | ( | ) | [inherited] |
Gets the phase at which the invocation was paused.
WSF_EXTERN std::string wso2wsf::MessageContext::getPausedPhaseName | ( | ) | [inherited] |
Gets the name of the phase at which the invocation was paused.
WSF_EXTERN bool wso2wsf::MessageContext::getProcessFault | ( | ) | [inherited] |
Gets process fault status.
WSF_EXTERN Property* wso2wsf::MessageContext::getProperty | ( | std::string | key | ) | [inherited] |
Gets property corresponding to the given key.
key | key string with which the property is stored |
WSF_EXTERN void* wso2wsf::MessageContext::getPropertyValue | ( | std::string | propStr | ) | [inherited] |
Gets property value corresponding to the property given key.
propStr | key string with which the property is stored |
WSF_EXTERN std::string wso2wsf::MessageContext::getReplyTo | ( | ) | [inherited] |
Gets WS-Addressing reply to endpoint as a string. Reply to address tells where the the response should be sent to.
WSF_EXTERN bool wso2wsf::MessageContext::getRequiredAuthIsHTTP | ( | ) | [inherited] |
Gets whether HTTP Authentication is required or whether Proxy Authentication is required
WSF_EXTERN OMElement* wso2wsf::MessageContext::getResponseSoapEnvelope | ( | ) | [inherited] |
Gets the SOAP envelope of the response.
WSF_EXTERN std::string wso2wsf::MessageContext::getRestHTTPMethod | ( | ) | [inherited] |
Gets the HTTP Method that relates to the service that is related to the message context.
WSF_EXTERN bool wso2wsf::MessageContext::getServerSide | ( | ) | [inherited] |
Checks if it is on the server side that the message is being dealt with, or on the client side.
WSF_EXTERN std::string wso2wsf::MessageContext::getSOAPAction | ( | ) | [inherited] |
Gets SOAP action.
WSF_EXTERN OMElement* wso2wsf::MessageContext::getSoapEnvelope | ( | ) | [inherited] |
Gets the SOAP envelope associated with the MessageContex. If the MessageContex is an In Message Context, the SOAP Envelope will be the Request SOAP envelope. If the MessageContext is an out MessageContext, the returned SOAP Envelope will be a response message
WSF_EXTERN int wso2wsf::MessageContext::getStatusCode | ( | ) | [inherited] |
Gets the integer value indicating http status_code.
WSF_EXTERN std::vector<std::string>* wso2wsf::MessageContext::getSupportedRESTHTTPMethods | ( | ) | [inherited] |
Gets the list of supported REST HTTP Methods
WSF_EXTERN std::string wso2wsf::MessageContext::getTo | ( | ) | [inherited] |
Gets WS-Addressing to endpoint URL. To address tells where message should be sent to.
WSF_EXTERN std::string wso2wsf::MessageContext::getTransferEncoding | ( | ) | [inherited] |
Gets the transfer encoding used
WSF_EXTERN std::string wso2wsf::MessageContext::getTransportURL | ( | ) | [inherited] |
Gets the Transport URL
WSF_EXTERN std::string wso2wsf::MessageContext::getWSAAction | ( | ) | [inherited] |
Gets WS-Addressing action.
WSF_EXTERN std::string wso2wsf::MessageContext::getWSAMessageId | ( | ) | [inherited] |
Gets WS-Addressing message ID.
WSF_EXTERN bool wso2wsf::MessageContext::incrementRef | ( | ) | [inherited] |
Incrementing the msg_ctx ref count. This is necessary when prevent freeing msg_ctx through op_client when it is in use as in sandesha2.
WSF_EXTERN bool wso2wsf::MessageContext::isKeepAlive | ( | ) | [inherited] |
Gets the bool value indicating the keep alive status. It is possible to keep alive the message context by any handler. By calling this method one can see whether it is possible to clean the message context.
WSF_EXTERN bool wso2wsf::MessageContext::isPaused | ( | ) | [inherited] |
Gets the bool value indicating the paused status.
WSF_EXTERN wso2wsf::MessageContext::MessageContext | ( | axis2_msg_ctx_t * | _msg_ctx | ) | [inherited] |
Create message Context using the axis2_msg_ctx object
WSF_EXTERN bool wso2wsf::MessageContext::setAuthFailed | ( | bool | status | ) | [inherited] |
Sets whether an authentication failure occurred
status | expects true if an authentication failure occurred or false if not |
WSF_EXTERN bool wso2wsf::MessageContext::setAuthType | ( | std::string | authType | ) | [inherited] |
Sets the authentication type
authType | Authentication type string |
WSF_EXTERN bool wso2wsf::MessageContext::setAxis2MessageContext | ( | axis2_msg_ctx_t * | msg_ctx | ) | [inherited] |
Sets the internal reference to the internal axis2_msg_ctx_t object. This method is specially useful when deleting the MessageContex Object returned the Framework. When the internal reference belongs to the framework the MessageContext would require freeing. Then this method can be used to reset the internal reference so that, only the C++ MessageContext is freed.
WSF_EXTERN bool wso2wsf::MessageContext::setCharsetEncodingStng | ( | std::string | str | ) | [inherited] |
Sets character set encoding to be used.
str | pointer to string struct representing encoding |
WSF_EXTERN bool wso2wsf::MessageContext::setContentLanguage | ( | std::string | language | ) | [inherited] |
Sets the Content Language used
language | Content Language string |
WSF_EXTERN bool wso2wsf::MessageContext::setCurrentHandlerIndex | ( | int | index | ) | [inherited] |
Sets current handler index, indicating which handler is currently being invoked in the execution chain
index | index of currently executed handler |
WSF_EXTERN bool wso2wsf::MessageContext::setCurrentPhaseIndex | ( | int | index | ) | [inherited] |
Sets index of the current phase being invoked.
index | index of current phase |
WSF_EXTERN bool wso2wsf::MessageContext::setDoingMTOM | ( | bool | doingMTOM | ) | [inherited] |
Sets the boolean value indicating if MTOM is enabled or not.
doingMTOM | true if MTOM is enabled, else false |
WSF_EXTERN bool wso2wsf::MessageContext::setDoingREST | ( | bool | doingREST | ) | [inherited] |
Sets the boolean value indicating if REST is enabled or not.
doingREST | true if REST is enabled, else false |
WSF_EXTERN bool wso2wsf::MessageContext::setDoRESTThroughPOST | ( | bool | doRESTThroughPost | ) | [inherited] |
Sets the boolean value indicating if REST should be done through HTTP POST or not.
doRESTThroughPost | true if REST is to be done with HTTP POST, else false if REST is not to be done with HTTP POST |
WSF_EXTERN bool wso2wsf::MessageContext::setFaultTo | ( | std::string | toUri | ) | [inherited] |
Sets WS-Addressing fault to endpoint. Fault to address tells where the fault message should be sent when there is an error.
toUri | To uri |
WSF_EXTERN bool wso2wsf::MessageContext::setFlow | ( | int | flow | ) | [inherited] |
Sets the flow to be invoked.
flow | int value indicating the flow |
WSF_EXTERN bool wso2wsf::MessageContext::setFrom | ( | std::string | fromUri | ) | [inherited] |
Sets WS-Addressing from endpoint. From address tells where the message came from.
fromUri | uri identifying the message origin |
WSF_EXTERN bool wso2wsf::MessageContext::setHTTPAcceptCharsetRecordList | ( | std::vector< std::string > * | recordList | ) | [inherited] |
Sets the HTTP Accept-Charset records
recordList | an Array List containing the HTTP Accept-Charset records |
WSF_EXTERN bool wso2wsf::MessageContext::setHTTPAcceptLanguageRecordList | ( | std::vector< std::string > * | acceptLanguageRecordList | ) | [inherited] |
Sets the HTTP Accept-Language records
acceptLanguageRecordList | an Array List containing the HTTP Accept-Language records |
WSF_EXTERN bool wso2wsf::MessageContext::setHTTPAcceptRecordList | ( | std::vector< std::string > * | recordList | ) | [inherited] |
Sets the HTTP Accept records
recordList | an Array List containing the HTTP Accept records |
WSF_EXTERN bool wso2wsf::MessageContext::setInFaultFlow | ( | bool | inFault | ) | [inherited] |
Sets in fault flow status.
inFault | true if there is a fault on in path, false otherwise |
WSF_EXTERN bool wso2wsf::MessageContext::setIsSOAP11 | ( | bool | isSOAP11 | ) | [inherited] |
Sets the bool value indicating the SOAP version being used either SOAP 1.1 or SOAP 1.2
isSOAP11 | true if SOAP 1.1 is being used,false if SOAP 1.2 is being used |
WSF_EXTERN bool wso2wsf::MessageContext::setKeepAlive | ( | bool | keepAlive | ) | [inherited] |
Sets the bool value indicating the keep alive status of invocation. By setting this one can indicate the engine not to clean the message context.
keepAlive | keep alive |
WSF_EXTERN bool wso2wsf::MessageContext::setManageSession | ( | bool | manageSession | ) | [inherited] |
Sets manage session bool value.
manageSession | manage session bool value |
WSF_EXTERN bool wso2wsf::MessageContext::setNewThreadRequired | ( | bool | newThreadRequired | ) | [inherited] |
Sets the bool value indicating if it is required to have a new thread for the invocation, or if the same thread of execution could be used.
newThreadRequired | true if a new thread is required. |
WSF_EXTERN bool wso2wsf::MessageContext::setNoContent | ( | bool | noContent | ) | [inherited] |
Sets that there was no content in the response.
noContent | expects true if there was no content in the response or false otherwise |
WSF_EXTERN bool wso2wsf::MessageContext::setOptions | ( | Options | options | ) | [inherited] |
Sets the options to be used in invocation.
options | pointer to options struct, message context does not assume the ownership of the struct |
WSF_EXTERN bool wso2wsf::MessageContext::setOutputWritten | ( | bool | outputWritten | ) | [inherited] |
Sets the bool value indicating the output written status.
outputWritten |
WSF_EXTERN bool wso2wsf::MessageContext::setPaused | ( | bool | paused | ) | [inherited] |
Sets the bool value indicating the paused status of invocation.
paused | paused |
WSF_EXTERN bool wso2wsf::MessageContext::setPausedPhaseName | ( | std::string | pausedPhaseName | ) | [inherited] |
Sets the name of the phase at which the invocation was paused.
pausedPhaseName | paused phase name string |
WSF_EXTERN bool wso2wsf::MessageContext::setProperty | ( | std::string | key, | |
std::string | value | |||
) | [inherited] |
Sets property with given key.
key | key string | |
value | property to be stored |
WSF_EXTERN bool wso2wsf::MessageContext::setReplyTo | ( | std::string | replyToUri | ) | [inherited] |
Sets WS-Addressing reply to address indicating the location to which the reply would be sent.
replyToUri | endpoint reference uri |
WSF_EXTERN bool wso2wsf::MessageContext::setRequiredAuthIsHTTP | ( | bool | isHTTP | ) | [inherited] |
Sets whether HTTP Authentication is required or whether Proxy Authentication is required
isHTTP | use true for HTTP Authentication and false for Proxy Authentication |
WSF_EXTERN axis2_status_t wso2wsf::MessageContext::setRESTHTTPMethod | ( | std::string | HTTPMethod | ) | [inherited] |
Sets the HTTP Method that relates to the service that is related to the message context.
HTTPMethod | HTTP Method string |
WSF_EXTERN bool wso2wsf::MessageContext::setServerSide | ( | bool | serverSide | ) | [inherited] |
Sets the boolean value indicating if it is the server side or the client side.
serverSide | true if it is server side, false if it is client side |
WSF_EXTERN bool wso2wsf::MessageContext::setSOAPAction | ( | std::string | action | ) | [inherited] |
Sets SOAP action.
action | SOAP action string |
WSF_EXTERN bool wso2wsf::MessageContext::setStatusCode | ( | int | statusCode | ) | [inherited] |
Sets the int value indicating http status code
statusCode | of the http response |
WSF_EXTERN bool wso2wsf::MessageContext::setSupportedRESTHTTPMethods | ( | std::vector< std::string > * | methods | ) | [inherited] |
Sets the list of supported REST HTTP Methods
methods | A pointer to a vector containing the list of HTTP Methods supported. |
WSF_EXTERN bool wso2wsf::MessageContext::setTo | ( | std::string | toUri | ) | [inherited] |
Sets WS-Addressing to address url.
toUri | A uri of the endpoint where the request should be sent to. |
WSF_EXTERN bool wso2wsf::MessageContext::setTransferEncoding | ( | std::string | encoding | ) | [inherited] |
Sets the transfer encoding used
encoding | Transfer encoding string |
WSF_EXTERN bool wso2wsf::MessageContext::setTransportURL | ( | std::string | transportURL | ) | [inherited] |
Sets the Transport URL.
transportURL | string representing the transport uril |
WSF_EXTERN bool wso2wsf::MessageContext::setWSAAction | ( | std::string | actionUri | ) | [inherited] |
Sets WS-Addressing action.
actionUri | WSA action URI string |
WSF_EXTERN bool wso2wsf::MessageContext::setWSAMessageId | ( | std::string | messageId | ) | [inherited] |
Sets WS-Addressing message ID.
messageId | pointer to message ID string |
virtual WSF_EXTERN wso2wsf::MessageContext::~MessageContext | ( | ) | [virtual, inherited] |
Destructor for message context