com.jakewharton.pingdom.services
Class ServerTimeService

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiService
      extended by com.jakewharton.pingdom.PingdomApiService
          extended by com.jakewharton.pingdom.services.ServerTimeService

public class ServerTimeService
extends PingdomApiService

Represents Pingdom's remote server time service.


Nested Class Summary
static class ServerTimeService.GetBuilder
          Request builder for get().
 
Field Summary
 
Fields inherited from class com.jakewharton.apibuilder.ApiService
CONTENT_ENCODING
 
Constructor Summary
ServerTimeService()
           
 
Method Summary
 ServerTimeService.GetBuilder get()
          Get the current time of the API server.
 
Methods inherited from class com.jakewharton.pingdom.PingdomApiService
delete, get, post, put, setApiVersion, setAppKey, setAuthentication, unmarshall, unmarshall
 
Methods inherited from class com.jakewharton.apibuilder.ApiService
acceptGzip, addRequestHeader, closeConnection, closeStream, convertStreamToString, executeDelete, executeDelete, executeGet, executeGet, executeMethod, executePost, executePost, getConnectTimeout, getParametersString, getReadTimeout, getWrappedInputStream, removeRequestHeader, setConnectTimeout, setReadTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTimeService

public ServerTimeService()
Method Detail

get

public ServerTimeService.GetBuilder get()
Get the current time of the API server.

Returns:
Builder instance.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.