Package com.google.walkaround.proto.gson.ClientVarsGsonImpl

Examples of com.google.walkaround.proto.gson.ClientVarsGsonImpl.StaticClientVarsGsonImpl


        inlineNocacheJs(), channelApiUrl);
  }

  private void writeStaticClientResponse(HttpServletRequest req, HttpServletResponse resp,
      LoadedWave wave) throws IOException {
    StaticClientVarsGsonImpl vars = new StaticClientVarsGsonImpl();
    vars.setRandomSeed(random.nextInt());
    vars.setUserEmail(participantId.getAddress());
    vars.setHaveOauthToken(userContext.hasOAuthCredentials());
    vars.setConvObjectId(wave.getConvObjectId().getId());
    vars.setConvSnapshot(wave.getConvSnapshotWithDiffs());
    setResponseHeaders(resp);
    Wave.write(resp.getWriter(), new GxpContext(getLocale(req)),
        analyticsAccount, clientVarString(null, vars, null), true,
        inlineNocacheJs(), channelApiUrl);
  }
View Full Code Here

TOP

Related Classes of com.google.walkaround.proto.gson.ClientVarsGsonImpl.StaticClientVarsGsonImpl

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.