Package org.apache.wicket.core.request

Examples of org.apache.wicket.core.request.ClientInfo


   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here


   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

   *
   * @return The client's time zone or null
   */
  protected TimeZone getClientTimeZone()
  {
    ClientInfo info = Session.get().getClientInfo();
    if (info instanceof WebClientInfo)
    {
      return ((WebClientInfo)info).getProperties().getTimeZone();
    }
    return null;
View Full Code Here

  public MySession(final Request request)
  {
    super(request);
    setLocale(request);
    final ClientInfo info = getClientInfo();
    if (info instanceof WebClientInfo) {
      clientProperties = ((WebClientInfo) clientInfo).getProperties();
      clientProperties.setTimeZone(PFUserContext.getTimeZone());
      userAgent = ((WebClientInfo) info).getUserAgent();
      userAgentDevice = UserAgentDevice.getUserAgentDevice(userAgent);
View Full Code Here

TOP

Related Classes of org.apache.wicket.core.request.ClientInfo

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.