Examples of RequestLog


Examples of com.google.apphosting.api.logservice.LogServicePb.RequestLog

                new LogServicePb.LogReadRequest();
            requestPb.mergeFrom(requestBytes);
            final LogServicePb.LogReadResponse responsePb =
                new LogServicePb.LogReadResponse();
            for (int i = 0; i < requestPb.getCount(); i++) {
                RequestLog log = new RequestLog();
                log
                    .setCombined("0.0.0.0 - loginUser [01/Dec/2011:00:00:00 -0000]"
                        + " \"GET /path HTTP/1.1\" 200 100 \"http://google.com/\" \"Chrome\"");
                log.setOffset(new LogOffset().setRequestId(String.valueOf(i)));
                log.addLine(new LogLine()
                    .setLogMessage("\npath\nException:\"\nmessage\"\n\\"));
                responsePb.addLog(log);
            }
            return new Future<byte[]>() {
                @Override
View Full Code Here

Examples of com.subgraph.vega.internal.model.requests.RequestLog

      tagModel = new TagModel(db);
      webModel = new WebModel(db);
      variableModel = new VariableModel(db);
      httpMacroModel = new HttpMacroModel(db);
      identityModel = new IdentityModel(db);
      requestLog = new RequestLog(db);
      scanAlerts = new ScanAlertRepository(db, xmlRepository);
      conditionManager = new HttpConditionManager(db, conditionChangeManager);
      targetScopeManager = new TargetScopeManager(db);
      return db;
    } catch (DatabaseFileLockedException e) {
View Full Code Here

Examples of logisticspipes.request.RequestLog

  @Override
  public SimulationResult simulateRequest(ItemStack wanted) {
    final Map<ItemIdentifier,Integer> used = new HashMap<ItemIdentifier,Integer>();
    final Map<ItemIdentifier,Integer> missing = new HashMap<ItemIdentifier,Integer>();
    RequestTree.simulate(ItemIdentifier.get(wanted).makeStack(wanted.stackSize), this, new RequestLog() {
      @Override
      public void handleMissingItems(Map<ItemIdentifier,Integer> items) {
        for(Entry<ItemIdentifier,Integer>e:items.entrySet()) {
          Integer count = missing.get(e.getKey());
          if(count == null)
View Full Code Here

Examples of logisticspipes.request.RequestLog

  }

  @Override
  public List<ItemStack> performRequest(ItemStack wanted) {
    final Map<ItemIdentifier,Integer> missing = new HashMap<ItemIdentifier,Integer>();
    RequestTree.request(ItemIdentifier.get(wanted).makeStack(wanted.stackSize), this, new RequestLog() {
      @Override
      public void handleMissingItems(Map<ItemIdentifier,Integer> items) {
        for(Entry<ItemIdentifier,Integer>e:items.entrySet()) {
          Integer count = missing.get(e.getKey());
          if(count == null)
View Full Code Here

Examples of org.eclipse.jetty.server.RequestLog

    {
        _connector = new ServerConnector(_server);
        _server.setConnectors(new Connector[]{ _connector });
       
        _log=new ArrayList<>();
        RequestLog log=new Log();
        RequestLogHandler logHandler = new RequestLogHandler();
        logHandler.setRequestLog(log);
        _server.setHandler(logHandler);
        _expectedLogs=1;
        _expectedCode="200 ";
View Full Code Here

Examples of org.eclipse.jetty.server.RequestLog

        File logPath = logFile.getParentFile();
        if (!logPath.mkdirs() && !logPath.exists()) {
            throw new IOException(format("Cannot create %s and path does not already exist", logPath.getAbsolutePath()));
        }

        RequestLog requestLog = new DelimitedRequestLog(config.getLogPath(), config.getLogMaxHistory(), config.getLogMaxSegmentSize().toBytes(), tokenManager);
        logHandler.setRequestLog(requestLog);

        return logHandler;
    }
View Full Code Here

Examples of org.eclipse.jetty.server.RequestLog

        File logPath = logFile.getParentFile();
        if (!logPath.mkdirs() && !logPath.exists()) {
            throw new IOException(format("Cannot create %s and path does not already exist", logPath.getAbsolutePath()));
        }

        RequestLog requestLog = new DelimitedRequestLog(config.getLogPath(), Ints.checkedCast(config.getLogRetentionTime().roundTo(TimeUnit.DAYS)), tokenManager, eventClient);
        logHandler.setRequestLog(requestLog);

        return logHandler;
    }
View Full Code Here

Examples of org.mortbay.jetty.RequestLog

      asm.setHttpOnly(true);
      asm.setSecureCookies(true);
    }

    ContextHandlerCollection contexts = new ContextHandlerCollection();
    RequestLog requestLog = HttpRequestLog.getRequestLog(name);

    if (requestLog != null) {
      RequestLogHandler requestLogHandler = new RequestLogHandler();
      requestLogHandler.setRequestLog(requestLog);
      HandlerCollection handlers = new HandlerCollection();
View Full Code Here

Examples of org.mortbay.jetty.RequestLog

        : new QueuedThreadPool(maxThreads);
    threadPool.setDaemon(true);
    webServer.setThreadPool(threadPool);

    ContextHandlerCollection contexts = new ContextHandlerCollection();
    RequestLog requestLog = HttpRequestLog.getRequestLog(name);

    if (requestLog != null) {
      RequestLogHandler requestLogHandler = new RequestLogHandler();
      requestLogHandler.setRequestLog(requestLog);
      HandlerCollection handlers = new HandlerCollection();
View Full Code Here

Examples of org.mortbay.jetty.RequestLog

        : new QueuedThreadPool(maxThreads);
    threadPool.setDaemon(true);
    webServer.setThreadPool(threadPool);

    ContextHandlerCollection contexts = new ContextHandlerCollection();
    RequestLog requestLog = HttpRequestLog.getRequestLog(name);

    if (requestLog != null) {
      RequestLogHandler requestLogHandler = new RequestLogHandler();
      requestLogHandler.setRequestLog(requestLog);
      HandlerCollection handlers = new HandlerCollection();
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.