Removes any GrailsWebRequest instance from the current request.
776983
public static void clearGrailsWebRequest() {
        RequestAttributes reqAttrs = RequestContextHolder.getRequestAttributes();
        if (reqAttrs != null) {
            // First remove the web request from the HTTP request attributes.
            GrailsWebRequest webRequest = (GrailsWebRequest) reqAttrs;
            webRequest.getRequest().removeAttribute(GrailsApplicationAttributes.WEB_REQUEST);

            // Now remove it from RequestContextHolder.
            RequestContextHolder.resetRequestAttributes();
        }
    }
704806
public static function popRequest()
    {
        $removed = array_pop(static::$_requests);
        $last = end(static::$_requests);
        if ($last) {
            static::setRequestContext($last);
            reset(static::$_requests);
        }

        return $removed;
    }
418109
public void clear() {
        this.attributes.clear();
        this.queryParameters = null;
        this.inReader = null;
        this.streamActive = false;
        this.inStream = null;
        this.encoding = null;
        this.sessionData = null;
        this.strippedURI = null;
        this.srvContext = null;
        this.srvPath = null;
        this.pathInfo = null;
        this.pathInfoComputed = false;
        this.filters = null;
    }
908088
synchronized void unregisterRequest(HttpRequest request) {
		assertTrue(this == request.requestManager);
		boolean removed = activeRequests.remove(request);
		assertTrue(removed, "Attempted to unregister missing request: %s", request);

		if (removed) {
			notifyRequestFinished(request);
		}
	}
281099
function (request) {
            var iFrame = request.iFrame;
            if (iFrame) {
                var domEltToRemove = request.iFrameContainer || iFrame;
                domEltToRemove.parentNode.removeChild(domEltToRemove);
                // avoid leaks:
                request.iFrameContainer = null;
                request.iFrame = null;
                iFrame.onload = null;
                iFrame.onreadystatechange = null;
            }
            delete this._requests[request.id];
        }
624733
protected void removePendingRequestForType(ResourceRequestInfo req) {
    Context c = getContext(req.getType());
    Object removed = Utilities.removeReference(c.pendingRequests, req);
    if (removed != null) {
      c.pendingRequestCount--;
    }
  }
752050
public void free()
    {
        m_strQueueName = null;
        m_strQueueType = null;
        m_source = null;
        m_mxProperties = null;
        m_intFilterID = null;
    }
842053
public void cancelAllRequests()
  {
    try
    {
      this.forceFlushAtTarget();
    }
    catch(SIMPRuntimeOperationFailedException e)
    {
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.runtime.RemoteConsumerReceiver.cancelAllRequests",
        "1:316:1.47",
        this); 
        
      SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0002",
        new Object[] { "com.ibm.ws.sib.processor.runtime.RemoteConsumerReceiver.cancelAllRequests", 
                       "1:321:1.47", 
                       SIMPUtils.getStackTrace(e) });
      SibTr.exception(tc, e);
    }    
  }
227373
private void removeInstance() {
        // unregister client
        ClientRegistry ref = registry.get();
        if (ref != null) {
            ref.removeClient(this);
        } else {
            log.warn("Client registry reference was not accessable, removal failed");
            // TODO: attempt to lookup the registry via the global.clientRegistry
        }
    }
128757
protected function cleanRequestUri()
    {
        $requestUri = $this->request->getRequestUri();

        $requestUriQuery = parse_url($requestUri, PHP_URL_QUERY);
        parse_str($requestUriQuery, $requestParams);
        if (is_array($requestParams) && count($requestParams) > 0) {
            foreach ($this->ajaxQueryParams as $queryParam) {
                if (array_key_exists($queryParam, $requestParams)) {
                    unset($requestParams[$queryParam]);
                }
            }
        }

        $this->request->setRequestUri(
            str_replace($requestUriQuery, http_build_query($requestParams), $requestUri)
        );
    }
384109
def remove(client, name):
    """"""
    from renku.models.refs import LinkReference
    LinkReference(client=client, name=_ref(name)).delete()
1120034
public static void reclaimRequestAttributes(HttpServletRequest aRequest) {
		Map map = (Map) aRequest.getSession().getAttribute(STOWED_REQUEST_ATTRIBS);

		if (map == null) {
			return;
		}

		Iterator itr = map.keySet().iterator();

		while (itr.hasNext()) {
			String name = (String) itr.next();
			aRequest.setAttribute(name, map.get(name));
		}

		aRequest.getSession().removeAttribute(STOWED_REQUEST_ATTRIBS);
	}
415913
def remove(self, _query=None, **kwargs):
        
        for entry in self._find_entries(_query=_query, **kwargs):
            self._service.DeleteRow(entry)
928788
public static void removeActionForm(ActionMapping mapping, HttpServletRequest request) {
		if (mapping.getAttribute() != null) {
			if ("request".equals(mapping.getScope()))
				request.removeAttribute(mapping.getAttribute());
			else {
				HttpSession session = request.getSession();
				session.removeAttribute(mapping.getAttribute());
				request.removeAttribute(mapping.getAttribute());
			}
		}
	}
74818
def delete(self, endpoint, params=None, version='1.1', json_encoded=False):
        """"""
        return self.request(endpoint, 'DELETE', params=params, version=version, json_encoded=json_encoded)
1018732
protected function replaceRequestInstance()
    {
        \array_pop($this->requestStack);

        $this->container->instance('request', \end($this->requestStack));
    }
486278
void destroy() {
        this.connection.removeListener(streamCloseListener);
        inFlightMessages.clear();
        promisedMessages.clear();
        http2ConnectionManager.removeClientChannel(httpRoute, this);
    }