Examples of requestCompleted()


Examples of org.apache.catalina.cluster.session.SimpleTcpReplicationManager.requestCompleted()

            //first check for session invalidations
            String[] invalidIds=manager.getInvalidatedSessions();
            if ( invalidIds.length > 0 ) {
                for ( int i=0;i<invalidIds.length; i++ ) {
                    try {
                        SessionMessage imsg = manager.requestCompleted(
                            invalidIds[i]);
                        if (imsg != null)
                            cluster.send(imsg);
                    }catch ( Exception x ) {
                        log("Unable to send session invalid message over cluster.",x,2);
View Full Code Here

Examples of org.apache.catalina.cluster.session.SimpleTcpReplicationManager.requestCompleted()

            if ( filterfound )
                return;

            if ( debug > 4 ) log("Invoking replication request on "+uri,4);

            SessionMessage msg = manager.requestCompleted(id);
            if ( msg == null ) return;


            cluster.send(msg);
            long stop = System.currentTimeMillis();
View Full Code Here

Examples of org.apache.http.nio.protocol.HttpAsyncRequestProducer.requestCompleted()

        if (this.log.isDebugEnabled()) {
            this.log.debug("[exchange: " + state.getId() + "] Request completed");
        }
        final HttpClientContext localContext = state.getLocalContext();
        final HttpAsyncRequestProducer requestProducer = state.getRequestProducer();
        requestProducer.requestCompleted(localContext);
    }

    public void responseReceived(
            final InternalState state,
            final HttpResponse response) throws IOException, HttpException {
View Full Code Here

Examples of org.apache.http.nio.protocol.HttpAsyncRequestProducer.requestCompleted()

        if (this.log.isDebugEnabled()) {
            this.log.debug("[exchange: " + state.getId() + "] Request completed");
        }
        final HttpClientContext localContext = state.getLocalContext();
        final HttpAsyncRequestProducer requestProducer = state.getRequestProducer();
        requestProducer.requestCompleted(localContext);
    }

    public void responseReceived(
            final InternalState state,
            final HttpResponse response) throws IOException, HttpException {
View Full Code Here

Examples of org.apache.http.nio.protocol.HttpAsyncRequestProducer.requestCompleted()

        if (this.log.isDebugEnabled()) {
            this.log.debug("[exchange: " + state.getId() + "] Request completed");
        }
        final HttpClientContext localContext = state.getLocalContext();
        final HttpAsyncRequestProducer requestProducer = state.getRequestProducer();
        requestProducer.requestCompleted(localContext);
    }

    public void responseReceived(
            final InternalState state,
            final HttpResponse response) throws IOException, HttpException {
View Full Code Here

Examples of org.apache.http.nio.protocol.HttpAsyncRequestProducer.requestCompleted()

        if (this.log.isDebugEnabled()) {
            this.log.debug("[exchange: " + state.getId() + "] Request completed");
        }
        final HttpClientContext localContext = state.getLocalContext();
        final HttpAsyncRequestProducer requestProducer = state.getRequestProducer();
        requestProducer.requestCompleted(localContext);
    }

    public void responseReceived(
            final InternalState state,
            final HttpResponse response) throws IOException, HttpException {
View Full Code Here

Examples of org.apache.http.nio.protocol.HttpAsyncRequestProducer.requestCompleted()

        if (this.log.isDebugEnabled()) {
            this.log.debug("[exchange: " + state.getId() + "] Request completed");
        }
        final HttpClientContext localContext = state.getLocalContext();
        final HttpAsyncRequestProducer requestProducer = state.getRequestProducer();
        requestProducer.requestCompleted(localContext);
    }

    public void responseReceived(
            final InternalState state,
            final HttpResponse response) throws IOException, HttpException {
View Full Code Here

Examples of org.jnode.driver.bus.usb.USBPipeListener.requestCompleted()

        for (int i = 0; i < max; i++) {
            USBPipeListener l = (USBPipeListener) listeners.get(i);
            if (error) {
                l.requestFailed(request);
            } else {
                l.requestCompleted(request);
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.springframework.web.context.request.ServletRequestAttributes.requestCompleted()

        try {
            super.doFilter(subSessionRequest, subSessionResponse, filterChain);
        } finally {
            RequestContextHolder.resetRequestAttributes();
            LocaleContextHolder.resetLocaleContext();
            if (attributes != null) attributes.requestCompleted();
        }
        gzip(subSessionResponse);
    }

}
View Full Code Here

Examples of org.springframework.web.context.request.ServletRequestAttributes.requestCompleted()

      // Reset thread-bound context.
      RequestContextHolder.setRequestAttributes(previousRequestAttributes, this.threadContextInheritable);
      LocaleContextHolder.setLocaleContext(previousLocaleContext, this.threadContextInheritable);

      // Clear request attributes.
      requestAttributes.requestCompleted();
      if (logger.isTraceEnabled()) {
        logger.trace("Cleared thread-bound request context: " + request);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.