Examples of ClientInfo


Examples of com.github.inspektr.common.web.ClientInfo

    }

    @Override
    protected final void updateCount(final HttpServletRequest request, final String usernameParameter) {
        final String userToUse = constructUsername(request, usernameParameter);
        final ClientInfo clientInfo = ClientInfoHolder.getClientInfo();
        final AuditActionContext context = new AuditActionContext(userToUse, userToUse, INSPEKTR_ACTION, this.applicationCode, new Date(), clientInfo.getClientIpAddress(), clientInfo.getServerIpAddress());
        this.auditTrailManager.record(context);
    }
View Full Code Here

Examples of com.github.theholywaffle.teamspeak3.api.wrapper.ClientInfo

  }

  public ClientInfo getClientInfo(int clientId) {
    CClientInfo info = new CClientInfo(clientId);
    if (query.doCommand(info)) {
      return new ClientInfo(info.getFirstResponse().getMap());
    }
    return null;
  }
View Full Code Here

Examples of com.google.gwt.junit.client.impl.JUnitHost.ClientInfo

  }

  @Override
  public void onModuleLoad() {
    testAccessor = new GWTTestAccessor();
    clientInfo = new ClientInfo(parseQueryParamInteger(SESSIONID_QUERY_PARAM, -1));

    // Kick off the test running process by getting the first method to run from the server.
    syncToServer();
  }
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

  public void setUser(UserBean user) {
    this.user = user;
  }
  public synchronized ClientInfo getClient() {
    if(client==null)
      client = new ClientInfo();
    return client;
  }
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

      rbean.setAuthor(super.autoFiltrate(site,reply.getAuthor()));
      if (StringUtils.isNotEmpty(reply.getAuthorURL()))
        rbean.setAuthorURL(reply.getAuthorURL());
      if (StringUtils.isNotEmpty(reply.getAuthorEmail()))
        rbean.setAuthorEmail(reply.getAuthorEmail());
      rbean.setClient(new ClientInfo(request, reply
          .getClientType()));
      String content = StringUtils.abbreviate(super.autoFiltrate(null,
          reply.getContent()), MAX_REPLY_LENGTH);
      rbean.setContent(super.filterScriptAndStyle(content));
      rbean.setDiary(diary);
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

      rbean.setAuthor(super.autoFiltrate(site,reply.getAuthor()));
      if (StringUtils.isNotEmpty(reply.getAuthorURL()))
        rbean.setAuthorURL(reply.getAuthorURL());
      if (StringUtils.isNotEmpty(reply.getAuthorEmail()))
        rbean.setAuthorEmail(reply.getAuthorEmail());
      rbean.setClient(new ClientInfo(request, reply
          .getClientType()));
      String content = StringUtils.abbreviate(super.autoFiltrate(null,
          reply.getContent()), MAX_REPLY_LENGTH);
      rbean.setContent(super.filterScriptAndStyle(content));
      rbean.setPhoto(photo);
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

      journal.setOwner(loginUser);
      journal.setSite(site);
      journal.setAuthor(super.autoFiltrate(site, log.getAuthor()));
      journal.setAuthorUrl(log.getAuthorUrl());
      journal.setCatalog(catalog);
      journal.setClient(new ClientInfo(request, log.getClientType()));
      // ������վ�İ�ȫ��־�����Ƿ�����ݽ��������ִʹ���

      String ssn_id = RequestUtils.getDlogSessionId(request);
      boolean wml = WML_IDENTITY.equalsIgnoreCase(identity);
      String content = autoCompileContent(request, site, log.getContent(), loginUser.getId(), ssn_id, wml);
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

        msgs.add("log", new ActionMessage("error.catalog_deny",
            new Integer(log.getCatalogId())));
        break;
      }
      // ��ȡ�����²ݸ����Ȼ���״̬��Ϊ����
      journal.setClient(new ClientInfo(request, log.getClientType()));
      journal.setViewCount(0);
      journal.setStatus(DiaryBean.STATUS_NORMAL);
      journal.setWriteTime(new Date());
      DiaryDAO.flush();
      break;
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

        journal.setRefUrl(null);
      else
        journal.setRefUrl(log.getRefUrl());
      // ��ȡ�����²ݸ����Ȼ���״̬��Ϊ����
      journal.setCatalog(catalog);
      journal.setClient(new ClientInfo(request, log.getClientType()));
      String ssn_id = RequestUtils.getDlogSessionId(request);
      boolean wml = WML_IDENTITY.equalsIgnoreCase(identity);
      String content = autoCompileContent(request, site, log.getContent(), loginUser.getId(), ssn_id, wml);
      journal.setContent(content);
      journal.setSize(content.getBytes().length);
View Full Code Here

Examples of com.liusoft.dlog4j.base.ClientInfo

      journal.setOwner(loginUser);
      journal.setSite(site);
      journal.setAuthor(super.autoFiltrate(site,log.getAuthor()));
      journal.setAuthorUrl(log.getAuthorUrl());
      journal.setCatalog(catalog);
      journal.setClient(new ClientInfo(request, log
          .getClientType()));
      journal.setContent(super.autoFiltrate(site,log.getContent()));
      journal.setMoodLevel(log.getMoodLevel());
      journal.setRefUrl(log.getRefUrl());
      journal.setReplyNotify(log.getNotify());
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.