![JAR search and dependency download from the Maven repository](/logo.png)
com.jakewharton.pingdom.services.ReferenceService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pingdom-java Show documentation
Show all versions of pingdom-java Show documentation
A Java wrapper around the Pingdom RESTful API and a simple DSL for easy interaction.
The newest version!
package com.jakewharton.pingdom.services;
import com.google.gson.reflect.TypeToken;
import com.jakewharton.pingdom.PingdomApiBuilder;
import com.jakewharton.pingdom.PingdomApiService;
import com.jakewharton.pingdom.entities.Reference;
/**
* Represents Pingdom's remote reference service.
*/
public class ReferenceService extends PingdomApiService {
/**
* Get a reference of regions, timezones and date/time/number formats and
* their identifiers.
*
* @return Builder instance.
* @since 2.0
*/
public GetBuilder get() {
return new GetBuilder(this);
}
/**
* Request builder for {@link ReferenceService#get()}.
*/
public static final class GetBuilder extends PingdomApiBuilder {
private static final String URI = "/reference";
private GetBuilder(ReferenceService service) {
super(service, new TypeToken() {}, URI);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy