Package | Description |
---|---|
retrofit |
Retrofit turns your REST API into a Java interface.
|
Modifier and Type | Class and Description |
---|---|
class |
ChangeableServer
Deprecated.
Implement
Endpoint to change URL and name at runtime. This class will be
removed in version 1.5. |
class |
Server
Deprecated.
Use
Endpoints.newFixedEndpoint(java.lang.String) . This class will be removed in version 1.5. |
Modifier and Type | Method and Description |
---|---|
static Endpoint |
Endpoints.newFixedEndpoint(java.lang.String url)
Create a server with the provided URL.
|
static Endpoint |
Endpoints.newFixedEndpoint(java.lang.String url,
java.lang.String name)
Create an endpoint with the provided URL and name.
|
Modifier and Type | Method and Description |
---|---|
RestAdapter.Builder |
RestAdapter.Builder.setEndpoint(Endpoint endpoint)
API endpoint.
|
Copyright © 2014 Square, Inc.. All Rights Reserved.