Package com.google.gerrit.server.util

Examples of com.google.gerrit.server.util.RequestContext


  @Override
  public void doFilter(final ServletRequest request,
      final ServletResponse response, final FilterChain chain)
      throws IOException, ServletException {
    RequestContext old = local.setContext(requestContext.get());
    try {
      try {
        chain.doFilter(request, response);
      } finally {
        cleanup.get().run();
View Full Code Here


      }

      @Provides
      public PerThreadRequestScope.Scoper provideScoper(
          final PerThreadRequestScope.Propagator propagator) {
        final RequestContext requestContext = new RequestContext() {
          @Override
          public CurrentUser getCurrentUser() {
            throw new OutOfScopeException("No user on merge thread");
          }
        };
View Full Code Here

TOP

Related Classes of com.google.gerrit.server.util.RequestContext

Copyright © 2018 www.massapicom. 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.