public class JGooGl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JGooGl.Builder |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsResponse |
analyticsFor(String shortUrl) |
AnalyticsResponse |
analyticsFor(String shortUrl,
GooGlProjection projection) |
ExpandResponse |
expand(String shortUrl) |
RequestBuilder |
getRequestBuilder() |
JGooGl |
onKey(String key) |
JGooGl |
onNoKey() |
JGooGlWithAnalytics |
onProjection(GooGlProjection projection) |
JGooGl |
onVersion(GooGlVersion version) |
void |
setRequestBuilder(RequestBuilder requestBuilder) |
ShortenResponse |
shorten(String longUrl) |
JGooGlWithAnalytics |
withAnalytics(GooGlProjection projection) |
static JGooGl |
withKey(String key) |
static JGooGl |
withoutKey() |
public static JGooGl withoutKey()
public JGooGl onNoKey()
public JGooGl onVersion(GooGlVersion version)
public JGooGlWithAnalytics onProjection(GooGlProjection projection)
public ShortenResponse shorten(String longUrl) throws IOException, ExecutionException, InterruptedException
public ExpandResponse expand(String shortUrl) throws IOException, ExecutionException, InterruptedException
public AnalyticsResponse analyticsFor(String shortUrl) throws IOException, ExecutionException, InterruptedException
public AnalyticsResponse analyticsFor(String shortUrl, GooGlProjection projection) throws IOException, ExecutionException, InterruptedException
public JGooGlWithAnalytics withAnalytics(GooGlProjection projection)
public void setRequestBuilder(RequestBuilder requestBuilder)
public RequestBuilder getRequestBuilder()
Copyright © 2011-2013. All Rights Reserved.