src/POData/Providers/Stream/StreamProviderWrapper.php
/**
     * Get ETag header value from request header.
     *      
     * @param mixed &$eTag                 On return, this parameter will hold
     *                                     value of IfMatch or IfNoneMatch
     *                                     header, if this header is absent then
     *                                     this parameter will hold NULL.
     * @param mixed &$checkETagForEquality On return, this parameter will hold
     *                                     true if IfMatch is present, false if
     *                                     IfNoneMatch header is present, null
     *                                     otherwise.
     * 
     * @return void
     */
Get ETag header value from request header.

@param mixed &$eTag                 On return, this parameter will hold
value of IfMatch or IfNoneMatch
header, if this header is absent then
this parameter will hold NULL.
@param mixed &$checkETagForEquality On return, this parameter will hold
true if IfMatch is present, false if
IfNoneMatch header is present, null
otherwise.

@return void
Get ETag header value from request header . @param mixed &$eTag On return this parameter will hold value of IfMatch or IfNoneMatch header if this header is absent then this parameter will hold NULL . @param mixed &$checkETagForEquality On return this parameter will hold true if IfMatch is present false if IfNoneMatch header is present null otherwise . @return void
private function _getETagFromHeaders(&$eTag, &$checkETagForEquality)
    {
        $dataServiceHost = $this->_service->getHost();
        $eTag = $dataServiceHost->getRequestIfMatch();
        if (!is_null($eTag)) {
            $checkETagForEquality = true;
            return;
        }
        $eTag = $dataServiceHost->getRequestIfNoneMatch();
        if (!is_null($eTag)) {
            $checkETagForEquality = false;
            return;
        }
        $checkETagForEquality = null;
    }
private function _getETagFromHeaders ( & $ eTag , & $ checkETagForEquality ) { $ dataServiceHost = $ this -> _service -> getHost ( ) ; $ eTag = $ dataServiceHost -> getRequestIfMatch ( ) ; if ( ! is_null ( $ eTag ) ) { $ checkETagForEquality = true ; return ; } $ eTag = $ dataServiceHost -> getRequestIfNoneMatch ( ) ; if ( ! is_null ( $ eTag ) ) { $ checkETagForEquality = false ; return ; } $ checkETagForEquality = null ; }
Get ETag header value from request header.
Get ETag header value from request header .
//TODO Do check for mutual exclusion of RequestIfMatch and //RequestIfNoneMatch in ServiceHost