com.google.gwt.logging.server.RemoteLoggingServiceImpl Java Examples

The following examples show how to use com.google.gwt.logging.server.RemoteLoggingServiceImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DemoGwtSpringbootApplication.java    From demo-gwt-springboot with Apache License 2.0 4 votes vote down vote up
@Bean
public ServletRegistrationBean servletRegistrationBean() {
	return new ServletRegistrationBean(new RemoteLoggingServiceImpl(),
			DemoGwtServiceEndpoint.GWT_REMOTE_LOGGING
					+ "/*");
}
 
Example #2
Source File: ServerMain.java    From incubator-retired-wave with Apache License 2.0 4 votes vote down vote up
private static void initializeServlets(ServerRpcProvider server, Config config) {
  server.addServlet("/gadget/gadgetlist", GadgetProviderServlet.class);

  server.addServlet(AttachmentServlet.ATTACHMENT_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentServlet.THUMBNAIL_URL + "/*", AttachmentServlet.class);
  server.addServlet(AttachmentInfoServlet.ATTACHMENTS_INFO_URL, AttachmentInfoServlet.class);

  server.addServlet(SessionManager.SIGN_IN_URL, AuthenticationServlet.class);
  server.addServlet("/auth/signout", SignOutServlet.class);
  server.addServlet("/auth/register", UserRegistrationServlet.class);

  server.addServlet("/locale/*", LocaleServlet.class);
  server.addServlet("/fetch/*", FetchServlet.class);
  server.addServlet("/search/*", SearchServlet.class);
  server.addServlet("/notification/*", NotificationServlet.class);

  server.addServlet("/robot/dataapi", DataApiServlet.class);
  server.addServlet(DataApiOAuthServlet.DATA_API_OAUTH_PATH + "/*", DataApiOAuthServlet.class);
  server.addServlet("/robot/dataapi/rpc", DataApiServlet.class);
  server.addServlet("/robot/register/*", RobotRegistrationServlet.class);
  server.addServlet("/robot/rpc", ActiveApiServlet.class);
  server.addServlet("/webclient/remote_logging", RemoteLoggingServiceImpl.class);
  server.addServlet("/profile/*", FetchProfilesServlet.class);
  server.addServlet("/iniavatars/*", InitialsAvatarsServlet.class);
  server.addServlet("/waveref/*", WaveRefServlet.class);

  String gadgetServerHostname = config.getString("core.gadget_server_hostname");
  int gadgetServerPort = config.getInt("core.gadget_server_port");
  LOG.info("Starting GadgetProxyServlet for " + gadgetServerHostname + ":" + gadgetServerPort);
  server.addTransparentProxy("/gadgets/*",
      "http://" + gadgetServerHostname + ":" + gadgetServerPort + "/gadgets", "/gadgets");

  server.addServlet("/", WaveClientServlet.class);

  // Profiling
  server.addFilter("/*", RequestScopeFilter.class);
  boolean enableProfiling = config.getBoolean("core.enable_profiling");
  if (enableProfiling) {
    server.addFilter("/*", TimingFilter.class);
    server.addServlet(StatService.STAT_URL, StatuszServlet.class);
  }
}