// Token: 0x0600116E RID: 4462 RVA: 0x00042E34 File Offset: 0x00041034 protected override bool CheckAccessCore(OperationContext operationContext) { HttpContext httpContext = HttpContext.Current; OwaServerLogger.LogWcfLatency(httpContext); return(httpContext.Request.IsAuthenticated && base.CheckAccessCore(operationContext)); }
// Token: 0x06001682 RID: 5762 RVA: 0x00053038 File Offset: 0x00051238 private void InternalProcessRequest(HttpContext httpContext) { ExTraceGlobals.CoreTracer.TraceDebug(0L, "OwaServiceHttpHandler.ProcessRequest"); OwaServerLogger.LogWcfLatency(httpContext); try { HttpRequest request = httpContext.Request; HttpResponse response = httpContext.Response; base.Initialize(response); if (base.ServiceMethodInfo.IsHttpGet) { Uri url = request.Url; new Uri(request.Path, UriKind.Relative); base.MethodDispatcher.InvokeGetMethod(base.ServiceMethodInfo, base.Service, request, response); } else { base.MethodDispatcher.InvokeMethod(base.ServiceMethodInfo, base.Service, request, response); } } catch (TargetInvocationException ex) { ExTraceGlobals.CoreTracer.TraceError <Exception>(0L, "Method invocation target threw an exception: {0}", ex.InnerException); ExceptionDispatchInfo exceptionDispatchInfo = ExceptionDispatchInfo.Capture(ex.InnerException ?? ex); exceptionDispatchInfo.Throw(); } finally { base.MethodDispatcher.DisposeParameters(); } }
// Token: 0x06001684 RID: 5764 RVA: 0x00053130 File Offset: 0x00051330 public IAsyncResult BeginProcessRequest(HttpContext httpContext, AsyncCallback cb, object extraData) { OwaServerLogger.LogWcfLatency(httpContext); IAsyncResult result; try { result = this.InternalBeginProcessRequest(httpContext, cb, extraData); } catch (Exception ex) { base.FaultHandler.ProvideFault(ex, httpContext.Response); result = new AsyncResult(cb, null, true) { Exception = ex }; } return(result); }