From cd4f8fa68f9e1e24f22d702cf9180ed2ef52e951 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Mon, 18 Mar 2024 14:07:43 -0400 Subject: [PATCH] New website generation mechanism This will be deployed by GitHub Actions soon --- build.gradle | 29 + deploy_website.sh | 36 - .../kotlinx-serialization/build.gradle | 1 + retrofit/build.gradle | 4 + .../converter-jackson/META-INF/MANIFEST.MF | 6 + .../converter-jackson/allclasses-frame.html | 20 + .../converter-jackson/allclasses-noframe.html | 20 + .../converter-jackson/constant-values.html | 124 +++ .../converter-jackson/deprecated-list.html | 124 +++ website/1.x/converter-jackson/help-doc.html | 225 ++++ website/1.x/converter-jackson/index-all.html | 159 +++ website/1.x/converter-jackson/index.html | 72 ++ .../1.x/converter-jackson/overview-tree.html | 137 +++ website/1.x/converter-jackson/package-list | 1 + .../retrofit/converter/JacksonConverter.html | 319 ++++++ .../converter/class-use/JacksonConverter.html | 124 +++ .../retrofit/converter/package-frame.html | 21 + .../retrofit/converter/package-summary.html | 144 +++ .../retrofit/converter/package-tree.html | 133 +++ .../retrofit/converter/package-use.html | 124 +++ website/1.x/converter-jackson/script.js | 30 + website/1.x/converter-jackson/stylesheet.css | 574 ++++++++++ website/1.x/converter-jackson/version.txt | 1 + .../converter-protobuf/META-INF/MANIFEST.MF | 6 + .../converter-protobuf/allclasses-frame.html | 20 + .../allclasses-noframe.html | 20 + .../converter-protobuf/constant-values.html | 124 +++ .../converter-protobuf/deprecated-list.html | 124 +++ website/1.x/converter-protobuf/help-doc.html | 225 ++++ website/1.x/converter-protobuf/index-all.html | 157 +++ website/1.x/converter-protobuf/index.html | 72 ++ .../1.x/converter-protobuf/overview-tree.html | 137 +++ website/1.x/converter-protobuf/package-list | 1 + .../retrofit/converter/ProtoConverter.html | 303 ++++++ .../converter/class-use/ProtoConverter.html | 124 +++ .../retrofit/converter/package-frame.html | 21 + .../retrofit/converter/package-summary.html | 144 +++ .../retrofit/converter/package-tree.html | 133 +++ .../retrofit/converter/package-use.html | 124 +++ website/1.x/converter-protobuf/script.js | 30 + website/1.x/converter-protobuf/stylesheet.css | 574 ++++++++++ website/1.x/converter-protobuf/version.txt | 1 + .../converter-simplexml/META-INF/MANIFEST.MF | 6 + .../converter-simplexml/allclasses-frame.html | 20 + .../allclasses-noframe.html | 20 + .../converter-simplexml/constant-values.html | 124 +++ .../converter-simplexml/deprecated-list.html | 124 +++ website/1.x/converter-simplexml/help-doc.html | 225 ++++ .../1.x/converter-simplexml/index-all.html | 171 +++ website/1.x/converter-simplexml/index.html | 72 ++ .../converter-simplexml/overview-tree.html | 137 +++ website/1.x/converter-simplexml/package-list | 1 + .../converter/SimpleXMLConverter.html | 358 +++++++ .../class-use/SimpleXMLConverter.html | 124 +++ .../retrofit/converter/package-frame.html | 21 + .../retrofit/converter/package-summary.html | 144 +++ .../retrofit/converter/package-tree.html | 133 +++ .../retrofit/converter/package-use.html | 124 +++ website/1.x/converter-simplexml/script.js | 30 + .../1.x/converter-simplexml/stylesheet.css | 574 ++++++++++ website/1.x/converter-simplexml/version.txt | 1 + .../1.x/converter-wire/META-INF/MANIFEST.MF | 6 + .../1.x/converter-wire/allclasses-frame.html | 20 + .../converter-wire/allclasses-noframe.html | 20 + .../1.x/converter-wire/constant-values.html | 124 +++ .../1.x/converter-wire/deprecated-list.html | 124 +++ website/1.x/converter-wire/help-doc.html | 225 ++++ website/1.x/converter-wire/index-all.html | 163 +++ website/1.x/converter-wire/index.html | 72 ++ website/1.x/converter-wire/overview-tree.html | 137 +++ website/1.x/converter-wire/package-list | 1 + .../retrofit/converter/WireConverter.html | 321 ++++++ .../converter/class-use/WireConverter.html | 124 +++ .../retrofit/converter/package-frame.html | 21 + .../retrofit/converter/package-summary.html | 144 +++ .../retrofit/converter/package-tree.html | 133 +++ .../retrofit/converter/package-use.html | 124 +++ website/1.x/converter-wire/script.js | 30 + website/1.x/converter-wire/stylesheet.css | 574 ++++++++++ website/1.x/converter-wire/version.txt | 1 + .../1.x/retrofit-mock/META-INF/MANIFEST.MF | 6 + .../1.x/retrofit-mock/allclasses-frame.html | 23 + .../1.x/retrofit-mock/allclasses-noframe.html | 23 + .../1.x/retrofit-mock/constant-values.html | 126 +++ .../1.x/retrofit-mock/deprecated-list.html | 126 +++ website/1.x/retrofit-mock/help-doc.html | 231 ++++ website/1.x/retrofit-mock/index-all.html | 314 ++++++ website/1.x/retrofit-mock/index.html | 75 ++ website/1.x/retrofit-mock/overview-frame.html | 23 + .../1.x/retrofit-mock/overview-summary.html | 144 +++ website/1.x/retrofit-mock/overview-tree.html | 158 +++ website/1.x/retrofit-mock/package-list | 2 + .../retrofit/MockHttpException.html | 439 ++++++++ .../MockRestAdapter.ValueChangeListener.html | 272 +++++ .../retrofit/MockRestAdapter.html | 506 +++++++++ .../android/AndroidMockValuePersistence.html | 291 +++++ .../AndroidMockValuePersistence.html | 126 +++ .../retrofit/android/package-frame.html | 21 + .../retrofit/android/package-summary.html | 147 +++ .../retrofit/android/package-tree.html | 139 +++ .../retrofit/android/package-use.html | 126 +++ .../retrofit/class-use/MockHttpException.html | 213 ++++ .../MockRestAdapter.ValueChangeListener.html | 206 ++++ .../retrofit/class-use/MockRestAdapter.html | 195 ++++ .../retrofit-mock/retrofit/package-frame.html | 29 + .../retrofit/package-summary.html | 181 ++++ .../retrofit-mock/retrofit/package-tree.html | 156 +++ .../retrofit-mock/retrofit/package-use.html | 199 ++++ website/1.x/retrofit-mock/script.js | 30 + .../1.x/retrofit-mock/serialized-form.html | 194 ++++ website/1.x/retrofit-mock/stylesheet.css | 574 ++++++++++ website/1.x/retrofit-mock/version.txt | 1 + website/1.x/retrofit/META-INF/MANIFEST.MF | 6 + website/1.x/retrofit/allclasses-frame.html | 80 ++ website/1.x/retrofit/allclasses-noframe.html | 80 ++ website/1.x/retrofit/constant-values.html | 155 +++ website/1.x/retrofit/deprecated-list.html | 186 ++++ website/1.x/retrofit/help-doc.html | 231 ++++ website/1.x/retrofit/index-all.html | 999 ++++++++++++++++++ website/1.x/retrofit/index.html | 75 ++ website/1.x/retrofit/overview-frame.html | 28 + website/1.x/retrofit/overview-summary.html | 168 +++ website/1.x/retrofit/overview-tree.html | 240 +++++ website/1.x/retrofit/package-list | 7 + website/1.x/retrofit/retrofit/Callback.html | 269 +++++ website/1.x/retrofit/retrofit/Endpoint.html | 248 +++++ website/1.x/retrofit/retrofit/Endpoints.html | 265 +++++ .../1.x/retrofit/retrofit/ErrorHandler.html | 293 +++++ .../retrofit/Profiler.RequestInformation.html | 353 +++++++ website/1.x/retrofit/retrofit/Profiler.html | 288 +++++ .../RequestInterceptor.RequestFacade.html | 306 ++++++ .../retrofit/retrofit/RequestInterceptor.html | 285 +++++ .../retrofit/retrofit/ResponseCallback.html | 313 ++++++ .../retrofit/RestAdapter.Builder.html | 481 +++++++++ .../retrofit/retrofit/RestAdapter.Log.html | 274 +++++ .../retrofit/RestAdapter.LogLevel.html | 414 ++++++++ .../1.x/retrofit/retrofit/RestAdapter.html | 372 +++++++ .../retrofit/retrofit/RetrofitError.Kind.html | 385 +++++++ .../1.x/retrofit/retrofit/RetrofitError.html | 477 +++++++++ .../retrofit/android/AndroidApacheClient.html | 275 +++++ .../retrofit/retrofit/android/AndroidLog.html | 332 ++++++ .../retrofit/android/MainThreadExecutor.html | 283 +++++ .../class-use/AndroidApacheClient.html | 126 +++ .../android/class-use/AndroidLog.html | 126 +++ .../android/class-use/MainThreadExecutor.html | 126 +++ .../retrofit/android/package-frame.html | 23 + .../retrofit/android/package-summary.html | 159 +++ .../retrofit/android/package-tree.html | 145 +++ .../retrofit/android/package-use.html | 126 +++ .../retrofit/appengine/UrlFetchClient.html | 346 ++++++ .../appengine/class-use/UrlFetchClient.html | 126 +++ .../retrofit/appengine/package-frame.html | 21 + .../retrofit/appengine/package-summary.html | 146 +++ .../retrofit/appengine/package-tree.html | 139 +++ .../retrofit/appengine/package-use.html | 126 +++ .../retrofit/retrofit/class-use/Callback.html | 171 +++ .../retrofit/retrofit/class-use/Endpoint.html | 192 ++++ .../retrofit/class-use/Endpoints.html | 126 +++ .../retrofit/class-use/ErrorHandler.html | 186 ++++ .../Profiler.RequestInformation.html | 173 +++ .../retrofit/retrofit/class-use/Profiler.html | 170 +++ .../RequestInterceptor.RequestFacade.html | 170 +++ .../class-use/RequestInterceptor.html | 185 ++++ .../retrofit/class-use/ResponseCallback.html | 126 +++ .../class-use/RestAdapter.Builder.html | 232 ++++ .../retrofit/class-use/RestAdapter.Log.html | 209 ++++ .../class-use/RestAdapter.LogLevel.html | 204 ++++ .../retrofit/class-use/RestAdapter.html | 170 +++ .../class-use/RetrofitError.Kind.html | 183 ++++ .../retrofit/class-use/RetrofitError.html | 211 ++++ .../retrofit/client/ApacheClient.html | 353 +++++++ .../retrofit/client/Client.Provider.html | 232 ++++ .../1.x/retrofit/retrofit/client/Client.html | 264 +++++ .../1.x/retrofit/retrofit/client/Header.html | 340 ++++++ .../retrofit/retrofit/client/OkClient.html | 323 ++++++ .../1.x/retrofit/retrofit/client/Request.html | 331 ++++++ .../retrofit/retrofit/client/Response.html | 353 +++++++ .../retrofit/client/UrlConnectionClient.html | 329 ++++++ .../client/class-use/ApacheClient.html | 169 +++ .../client/class-use/Client.Provider.html | 170 +++ .../retrofit/client/class-use/Client.html | 270 +++++ .../retrofit/client/class-use/Header.html | 195 ++++ .../retrofit/client/class-use/OkClient.html | 126 +++ .../retrofit/client/class-use/Request.html | 207 ++++ .../retrofit/client/class-use/Response.html | 271 +++++ .../client/class-use/UrlConnectionClient.html | 126 +++ .../retrofit/client/package-frame.html | 31 + .../retrofit/client/package-summary.html | 199 ++++ .../retrofit/client/package-tree.html | 149 +++ .../retrofit/retrofit/client/package-use.html | 266 +++++ .../converter/ConversionException.html | 291 +++++ .../retrofit/converter/Converter.html | 272 +++++ .../retrofit/converter/GsonConverter.html | 351 ++++++ .../class-use/ConversionException.html | 202 ++++ .../converter/class-use/Converter.html | 209 ++++ .../converter/class-use/GsonConverter.html | 126 +++ .../retrofit/converter/package-frame.html | 29 + .../retrofit/converter/package-summary.html | 180 ++++ .../retrofit/converter/package-tree.html | 152 +++ .../retrofit/converter/package-use.html | 194 ++++ website/1.x/retrofit/retrofit/http/Body.html | 182 ++++ .../1.x/retrofit/retrofit/http/DELETE.html | 218 ++++ .../retrofit/retrofit/http/EncodedPath.html | 237 +++++ .../retrofit/retrofit/http/EncodedQuery.html | 233 ++++ .../retrofit/http/EncodedQueryMap.html | 182 ++++ website/1.x/retrofit/retrofit/http/Field.html | 307 ++++++ .../1.x/retrofit/retrofit/http/FieldMap.html | 264 +++++ .../retrofit/http/FormUrlEncoded.html | 174 +++ website/1.x/retrofit/retrofit/http/GET.html | 218 ++++ website/1.x/retrofit/retrofit/http/HEAD.html | 218 ++++ .../1.x/retrofit/retrofit/http/Header.html | 232 ++++ .../1.x/retrofit/retrofit/http/Headers.html | 237 +++++ .../1.x/retrofit/retrofit/http/Multipart.html | 170 +++ website/1.x/retrofit/retrofit/http/PATCH.html | 219 ++++ website/1.x/retrofit/retrofit/http/POST.html | 219 ++++ website/1.x/retrofit/retrofit/http/PUT.html | 219 ++++ website/1.x/retrofit/retrofit/http/Part.html | 278 +++++ .../1.x/retrofit/retrofit/http/PartMap.html | 245 +++++ website/1.x/retrofit/retrofit/http/Path.html | 277 +++++ website/1.x/retrofit/retrofit/http/Query.html | 328 ++++++ .../1.x/retrofit/retrofit/http/QueryMap.html | 281 +++++ .../retrofit/retrofit/http/RestMethod.html | 252 +++++ .../1.x/retrofit/retrofit/http/Streaming.html | 170 +++ .../retrofit/http/class-use/Body.html | 126 +++ .../retrofit/http/class-use/DELETE.html | 126 +++ .../retrofit/http/class-use/EncodedPath.html | 126 +++ .../retrofit/http/class-use/EncodedQuery.html | 126 +++ .../http/class-use/EncodedQueryMap.html | 126 +++ .../retrofit/http/class-use/Field.html | 126 +++ .../retrofit/http/class-use/FieldMap.html | 126 +++ .../http/class-use/FormUrlEncoded.html | 126 +++ .../retrofit/retrofit/http/class-use/GET.html | 126 +++ .../retrofit/http/class-use/HEAD.html | 126 +++ .../retrofit/http/class-use/Header.html | 126 +++ .../retrofit/http/class-use/Headers.html | 126 +++ .../retrofit/http/class-use/Multipart.html | 126 +++ .../retrofit/http/class-use/PATCH.html | 126 +++ .../retrofit/http/class-use/POST.html | 126 +++ .../retrofit/retrofit/http/class-use/PUT.html | 126 +++ .../retrofit/http/class-use/Part.html | 126 +++ .../retrofit/http/class-use/PartMap.html | 126 +++ .../retrofit/http/class-use/Path.html | 126 +++ .../retrofit/http/class-use/Query.html | 126 +++ .../retrofit/http/class-use/QueryMap.html | 126 +++ .../retrofit/http/class-use/RestMethod.html | 200 ++++ .../retrofit/http/class-use/Streaming.html | 126 +++ .../retrofit/retrofit/http/package-frame.html | 43 + .../retrofit/http/package-summary.html | 288 +++++ .../retrofit/retrofit/http/package-tree.html | 157 +++ .../retrofit/retrofit/http/package-use.html | 161 +++ .../mime/FormUrlEncodedTypedOutput.html | 388 +++++++ .../1.x/retrofit/retrofit/mime/MimeUtil.html | 264 +++++ .../retrofit/mime/MultipartTypedOutput.html | 439 ++++++++ .../retrofit/mime/TypedByteArray.html | 465 ++++++++ .../1.x/retrofit/retrofit/mime/TypedFile.html | 487 +++++++++ .../retrofit/retrofit/mime/TypedInput.html | 273 +++++ .../retrofit/retrofit/mime/TypedOutput.html | 290 +++++ .../retrofit/retrofit/mime/TypedString.html | 293 +++++ .../class-use/FormUrlEncodedTypedOutput.html | 126 +++ .../retrofit/mime/class-use/MimeUtil.html | 126 +++ .../mime/class-use/MultipartTypedOutput.html | 126 +++ .../mime/class-use/TypedByteArray.html | 166 +++ .../retrofit/mime/class-use/TypedFile.html | 168 +++ .../retrofit/mime/class-use/TypedInput.html | 247 +++++ .../retrofit/mime/class-use/TypedOutput.html | 272 +++++ .../retrofit/mime/class-use/TypedString.html | 126 +++ .../retrofit/retrofit/mime/package-frame.html | 31 + .../retrofit/mime/package-summary.html | 191 ++++ .../retrofit/retrofit/mime/package-tree.html | 152 +++ .../retrofit/retrofit/mime/package-use.html | 228 ++++ .../1.x/retrofit/retrofit/package-frame.html | 44 + .../retrofit/retrofit/package-summary.html | 275 +++++ .../1.x/retrofit/retrofit/package-tree.html | 179 ++++ .../1.x/retrofit/retrofit/package-use.html | 240 +++++ website/1.x/retrofit/script.js | 30 + website/1.x/retrofit/serialized-form.html | 176 +++ website/1.x/retrofit/stylesheet.css | 574 ++++++++++ website/1.x/retrofit/version.txt | 1 + .../sample-github-client/META-INF/MANIFEST.MF | 6 + .../allclasses-frame.html | 32 + .../allclasses-noframe.html | 32 + .../com/example/retrofit/GitHubClient.html | 251 +++++ .../retrofit/class-use/GitHubClient.html | 143 +++ .../com/example/retrofit/package-frame.html | 33 + .../com/example/retrofit/package-summary.html | 156 +++ .../com/example/retrofit/package-tree.html | 149 +++ .../com/example/retrofit/package-use.html | 143 +++ .../sample-github-client/constant-values.html | 145 +++ .../sample-github-client/deprecated-list.html | 145 +++ .../1.x/sample-github-client/help-doc.html | 216 ++++ .../1.x/sample-github-client/index-all.html | 157 +++ website/1.x/sample-github-client/index.html | 37 + .../sample-github-client/overview-tree.html | 151 +++ website/1.x/sample-github-client/package-list | 1 + .../resources/inherit.gif | Bin 0 -> 57 bytes .../1.x/sample-github-client/stylesheet.css | 29 + website/1.x/sample-github-client/version.txt | 1 + 297 files changed, 51307 insertions(+), 36 deletions(-) delete mode 100755 deploy_website.sh create mode 100644 website/1.x/converter-jackson/META-INF/MANIFEST.MF create mode 100644 website/1.x/converter-jackson/allclasses-frame.html create mode 100644 website/1.x/converter-jackson/allclasses-noframe.html create mode 100644 website/1.x/converter-jackson/constant-values.html create mode 100644 website/1.x/converter-jackson/deprecated-list.html create mode 100644 website/1.x/converter-jackson/help-doc.html create mode 100644 website/1.x/converter-jackson/index-all.html create mode 100644 website/1.x/converter-jackson/index.html create mode 100644 website/1.x/converter-jackson/overview-tree.html create mode 100644 website/1.x/converter-jackson/package-list create mode 100644 website/1.x/converter-jackson/retrofit/converter/JacksonConverter.html create mode 100644 website/1.x/converter-jackson/retrofit/converter/class-use/JacksonConverter.html create mode 100644 website/1.x/converter-jackson/retrofit/converter/package-frame.html create mode 100644 website/1.x/converter-jackson/retrofit/converter/package-summary.html create mode 100644 website/1.x/converter-jackson/retrofit/converter/package-tree.html create mode 100644 website/1.x/converter-jackson/retrofit/converter/package-use.html create mode 100644 website/1.x/converter-jackson/script.js create mode 100644 website/1.x/converter-jackson/stylesheet.css create mode 100644 website/1.x/converter-jackson/version.txt create mode 100644 website/1.x/converter-protobuf/META-INF/MANIFEST.MF create mode 100644 website/1.x/converter-protobuf/allclasses-frame.html create mode 100644 website/1.x/converter-protobuf/allclasses-noframe.html create mode 100644 website/1.x/converter-protobuf/constant-values.html create mode 100644 website/1.x/converter-protobuf/deprecated-list.html create mode 100644 website/1.x/converter-protobuf/help-doc.html create mode 100644 website/1.x/converter-protobuf/index-all.html create mode 100644 website/1.x/converter-protobuf/index.html create mode 100644 website/1.x/converter-protobuf/overview-tree.html create mode 100644 website/1.x/converter-protobuf/package-list create mode 100644 website/1.x/converter-protobuf/retrofit/converter/ProtoConverter.html create mode 100644 website/1.x/converter-protobuf/retrofit/converter/class-use/ProtoConverter.html create mode 100644 website/1.x/converter-protobuf/retrofit/converter/package-frame.html create mode 100644 website/1.x/converter-protobuf/retrofit/converter/package-summary.html create mode 100644 website/1.x/converter-protobuf/retrofit/converter/package-tree.html create mode 100644 website/1.x/converter-protobuf/retrofit/converter/package-use.html create mode 100644 website/1.x/converter-protobuf/script.js create mode 100644 website/1.x/converter-protobuf/stylesheet.css create mode 100644 website/1.x/converter-protobuf/version.txt create mode 100644 website/1.x/converter-simplexml/META-INF/MANIFEST.MF create mode 100644 website/1.x/converter-simplexml/allclasses-frame.html create mode 100644 website/1.x/converter-simplexml/allclasses-noframe.html create mode 100644 website/1.x/converter-simplexml/constant-values.html create mode 100644 website/1.x/converter-simplexml/deprecated-list.html create mode 100644 website/1.x/converter-simplexml/help-doc.html create mode 100644 website/1.x/converter-simplexml/index-all.html create mode 100644 website/1.x/converter-simplexml/index.html create mode 100644 website/1.x/converter-simplexml/overview-tree.html create mode 100644 website/1.x/converter-simplexml/package-list create mode 100644 website/1.x/converter-simplexml/retrofit/converter/SimpleXMLConverter.html create mode 100644 website/1.x/converter-simplexml/retrofit/converter/class-use/SimpleXMLConverter.html create mode 100644 website/1.x/converter-simplexml/retrofit/converter/package-frame.html create mode 100644 website/1.x/converter-simplexml/retrofit/converter/package-summary.html create mode 100644 website/1.x/converter-simplexml/retrofit/converter/package-tree.html create mode 100644 website/1.x/converter-simplexml/retrofit/converter/package-use.html create mode 100644 website/1.x/converter-simplexml/script.js create mode 100644 website/1.x/converter-simplexml/stylesheet.css create mode 100644 website/1.x/converter-simplexml/version.txt create mode 100644 website/1.x/converter-wire/META-INF/MANIFEST.MF create mode 100644 website/1.x/converter-wire/allclasses-frame.html create mode 100644 website/1.x/converter-wire/allclasses-noframe.html create mode 100644 website/1.x/converter-wire/constant-values.html create mode 100644 website/1.x/converter-wire/deprecated-list.html create mode 100644 website/1.x/converter-wire/help-doc.html create mode 100644 website/1.x/converter-wire/index-all.html create mode 100644 website/1.x/converter-wire/index.html create mode 100644 website/1.x/converter-wire/overview-tree.html create mode 100644 website/1.x/converter-wire/package-list create mode 100644 website/1.x/converter-wire/retrofit/converter/WireConverter.html create mode 100644 website/1.x/converter-wire/retrofit/converter/class-use/WireConverter.html create mode 100644 website/1.x/converter-wire/retrofit/converter/package-frame.html create mode 100644 website/1.x/converter-wire/retrofit/converter/package-summary.html create mode 100644 website/1.x/converter-wire/retrofit/converter/package-tree.html create mode 100644 website/1.x/converter-wire/retrofit/converter/package-use.html create mode 100644 website/1.x/converter-wire/script.js create mode 100644 website/1.x/converter-wire/stylesheet.css create mode 100644 website/1.x/converter-wire/version.txt create mode 100644 website/1.x/retrofit-mock/META-INF/MANIFEST.MF create mode 100644 website/1.x/retrofit-mock/allclasses-frame.html create mode 100644 website/1.x/retrofit-mock/allclasses-noframe.html create mode 100644 website/1.x/retrofit-mock/constant-values.html create mode 100644 website/1.x/retrofit-mock/deprecated-list.html create mode 100644 website/1.x/retrofit-mock/help-doc.html create mode 100644 website/1.x/retrofit-mock/index-all.html create mode 100644 website/1.x/retrofit-mock/index.html create mode 100644 website/1.x/retrofit-mock/overview-frame.html create mode 100644 website/1.x/retrofit-mock/overview-summary.html create mode 100644 website/1.x/retrofit-mock/overview-tree.html create mode 100644 website/1.x/retrofit-mock/package-list create mode 100644 website/1.x/retrofit-mock/retrofit/MockHttpException.html create mode 100644 website/1.x/retrofit-mock/retrofit/MockRestAdapter.ValueChangeListener.html create mode 100644 website/1.x/retrofit-mock/retrofit/MockRestAdapter.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/AndroidMockValuePersistence.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/class-use/AndroidMockValuePersistence.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/package-frame.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/package-summary.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/package-tree.html create mode 100644 website/1.x/retrofit-mock/retrofit/android/package-use.html create mode 100644 website/1.x/retrofit-mock/retrofit/class-use/MockHttpException.html create mode 100644 website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.ValueChangeListener.html create mode 100644 website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.html create mode 100644 website/1.x/retrofit-mock/retrofit/package-frame.html create mode 100644 website/1.x/retrofit-mock/retrofit/package-summary.html create mode 100644 website/1.x/retrofit-mock/retrofit/package-tree.html create mode 100644 website/1.x/retrofit-mock/retrofit/package-use.html create mode 100644 website/1.x/retrofit-mock/script.js create mode 100644 website/1.x/retrofit-mock/serialized-form.html create mode 100644 website/1.x/retrofit-mock/stylesheet.css create mode 100644 website/1.x/retrofit-mock/version.txt create mode 100644 website/1.x/retrofit/META-INF/MANIFEST.MF create mode 100644 website/1.x/retrofit/allclasses-frame.html create mode 100644 website/1.x/retrofit/allclasses-noframe.html create mode 100644 website/1.x/retrofit/constant-values.html create mode 100644 website/1.x/retrofit/deprecated-list.html create mode 100644 website/1.x/retrofit/help-doc.html create mode 100644 website/1.x/retrofit/index-all.html create mode 100644 website/1.x/retrofit/index.html create mode 100644 website/1.x/retrofit/overview-frame.html create mode 100644 website/1.x/retrofit/overview-summary.html create mode 100644 website/1.x/retrofit/overview-tree.html create mode 100644 website/1.x/retrofit/package-list create mode 100644 website/1.x/retrofit/retrofit/Callback.html create mode 100644 website/1.x/retrofit/retrofit/Endpoint.html create mode 100644 website/1.x/retrofit/retrofit/Endpoints.html create mode 100644 website/1.x/retrofit/retrofit/ErrorHandler.html create mode 100644 website/1.x/retrofit/retrofit/Profiler.RequestInformation.html create mode 100644 website/1.x/retrofit/retrofit/Profiler.html create mode 100644 website/1.x/retrofit/retrofit/RequestInterceptor.RequestFacade.html create mode 100644 website/1.x/retrofit/retrofit/RequestInterceptor.html create mode 100644 website/1.x/retrofit/retrofit/ResponseCallback.html create mode 100644 website/1.x/retrofit/retrofit/RestAdapter.Builder.html create mode 100644 website/1.x/retrofit/retrofit/RestAdapter.Log.html create mode 100644 website/1.x/retrofit/retrofit/RestAdapter.LogLevel.html create mode 100644 website/1.x/retrofit/retrofit/RestAdapter.html create mode 100644 website/1.x/retrofit/retrofit/RetrofitError.Kind.html create mode 100644 website/1.x/retrofit/retrofit/RetrofitError.html create mode 100644 website/1.x/retrofit/retrofit/android/AndroidApacheClient.html create mode 100644 website/1.x/retrofit/retrofit/android/AndroidLog.html create mode 100644 website/1.x/retrofit/retrofit/android/MainThreadExecutor.html create mode 100644 website/1.x/retrofit/retrofit/android/class-use/AndroidApacheClient.html create mode 100644 website/1.x/retrofit/retrofit/android/class-use/AndroidLog.html create mode 100644 website/1.x/retrofit/retrofit/android/class-use/MainThreadExecutor.html create mode 100644 website/1.x/retrofit/retrofit/android/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/android/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/android/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/android/package-use.html create mode 100644 website/1.x/retrofit/retrofit/appengine/UrlFetchClient.html create mode 100644 website/1.x/retrofit/retrofit/appengine/class-use/UrlFetchClient.html create mode 100644 website/1.x/retrofit/retrofit/appengine/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/appengine/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/appengine/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/appengine/package-use.html create mode 100644 website/1.x/retrofit/retrofit/class-use/Callback.html create mode 100644 website/1.x/retrofit/retrofit/class-use/Endpoint.html create mode 100644 website/1.x/retrofit/retrofit/class-use/Endpoints.html create mode 100644 website/1.x/retrofit/retrofit/class-use/ErrorHandler.html create mode 100644 website/1.x/retrofit/retrofit/class-use/Profiler.RequestInformation.html create mode 100644 website/1.x/retrofit/retrofit/class-use/Profiler.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RequestInterceptor.RequestFacade.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RequestInterceptor.html create mode 100644 website/1.x/retrofit/retrofit/class-use/ResponseCallback.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RestAdapter.Builder.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RestAdapter.Log.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RestAdapter.LogLevel.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RestAdapter.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RetrofitError.Kind.html create mode 100644 website/1.x/retrofit/retrofit/class-use/RetrofitError.html create mode 100644 website/1.x/retrofit/retrofit/client/ApacheClient.html create mode 100644 website/1.x/retrofit/retrofit/client/Client.Provider.html create mode 100644 website/1.x/retrofit/retrofit/client/Client.html create mode 100644 website/1.x/retrofit/retrofit/client/Header.html create mode 100644 website/1.x/retrofit/retrofit/client/OkClient.html create mode 100644 website/1.x/retrofit/retrofit/client/Request.html create mode 100644 website/1.x/retrofit/retrofit/client/Response.html create mode 100644 website/1.x/retrofit/retrofit/client/UrlConnectionClient.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/ApacheClient.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/Client.Provider.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/Client.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/Header.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/OkClient.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/Request.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/Response.html create mode 100644 website/1.x/retrofit/retrofit/client/class-use/UrlConnectionClient.html create mode 100644 website/1.x/retrofit/retrofit/client/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/client/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/client/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/client/package-use.html create mode 100644 website/1.x/retrofit/retrofit/converter/ConversionException.html create mode 100644 website/1.x/retrofit/retrofit/converter/Converter.html create mode 100644 website/1.x/retrofit/retrofit/converter/GsonConverter.html create mode 100644 website/1.x/retrofit/retrofit/converter/class-use/ConversionException.html create mode 100644 website/1.x/retrofit/retrofit/converter/class-use/Converter.html create mode 100644 website/1.x/retrofit/retrofit/converter/class-use/GsonConverter.html create mode 100644 website/1.x/retrofit/retrofit/converter/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/converter/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/converter/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/converter/package-use.html create mode 100644 website/1.x/retrofit/retrofit/http/Body.html create mode 100644 website/1.x/retrofit/retrofit/http/DELETE.html create mode 100644 website/1.x/retrofit/retrofit/http/EncodedPath.html create mode 100644 website/1.x/retrofit/retrofit/http/EncodedQuery.html create mode 100644 website/1.x/retrofit/retrofit/http/EncodedQueryMap.html create mode 100644 website/1.x/retrofit/retrofit/http/Field.html create mode 100644 website/1.x/retrofit/retrofit/http/FieldMap.html create mode 100644 website/1.x/retrofit/retrofit/http/FormUrlEncoded.html create mode 100644 website/1.x/retrofit/retrofit/http/GET.html create mode 100644 website/1.x/retrofit/retrofit/http/HEAD.html create mode 100644 website/1.x/retrofit/retrofit/http/Header.html create mode 100644 website/1.x/retrofit/retrofit/http/Headers.html create mode 100644 website/1.x/retrofit/retrofit/http/Multipart.html create mode 100644 website/1.x/retrofit/retrofit/http/PATCH.html create mode 100644 website/1.x/retrofit/retrofit/http/POST.html create mode 100644 website/1.x/retrofit/retrofit/http/PUT.html create mode 100644 website/1.x/retrofit/retrofit/http/Part.html create mode 100644 website/1.x/retrofit/retrofit/http/PartMap.html create mode 100644 website/1.x/retrofit/retrofit/http/Path.html create mode 100644 website/1.x/retrofit/retrofit/http/Query.html create mode 100644 website/1.x/retrofit/retrofit/http/QueryMap.html create mode 100644 website/1.x/retrofit/retrofit/http/RestMethod.html create mode 100644 website/1.x/retrofit/retrofit/http/Streaming.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Body.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/DELETE.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/EncodedPath.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/EncodedQuery.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/EncodedQueryMap.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Field.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/FieldMap.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/FormUrlEncoded.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/GET.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/HEAD.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Header.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Headers.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Multipart.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/PATCH.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/POST.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/PUT.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Part.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/PartMap.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Path.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Query.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/QueryMap.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/RestMethod.html create mode 100644 website/1.x/retrofit/retrofit/http/class-use/Streaming.html create mode 100644 website/1.x/retrofit/retrofit/http/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/http/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/http/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/http/package-use.html create mode 100644 website/1.x/retrofit/retrofit/mime/FormUrlEncodedTypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/MimeUtil.html create mode 100644 website/1.x/retrofit/retrofit/mime/MultipartTypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/TypedByteArray.html create mode 100644 website/1.x/retrofit/retrofit/mime/TypedFile.html create mode 100644 website/1.x/retrofit/retrofit/mime/TypedInput.html create mode 100644 website/1.x/retrofit/retrofit/mime/TypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/TypedString.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/FormUrlEncodedTypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/MimeUtil.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/MultipartTypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/TypedByteArray.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/TypedFile.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/TypedInput.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/TypedOutput.html create mode 100644 website/1.x/retrofit/retrofit/mime/class-use/TypedString.html create mode 100644 website/1.x/retrofit/retrofit/mime/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/mime/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/mime/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/mime/package-use.html create mode 100644 website/1.x/retrofit/retrofit/package-frame.html create mode 100644 website/1.x/retrofit/retrofit/package-summary.html create mode 100644 website/1.x/retrofit/retrofit/package-tree.html create mode 100644 website/1.x/retrofit/retrofit/package-use.html create mode 100644 website/1.x/retrofit/script.js create mode 100644 website/1.x/retrofit/serialized-form.html create mode 100644 website/1.x/retrofit/stylesheet.css create mode 100644 website/1.x/retrofit/version.txt create mode 100644 website/1.x/sample-github-client/META-INF/MANIFEST.MF create mode 100644 website/1.x/sample-github-client/allclasses-frame.html create mode 100644 website/1.x/sample-github-client/allclasses-noframe.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/GitHubClient.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/class-use/GitHubClient.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/package-frame.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/package-summary.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/package-tree.html create mode 100644 website/1.x/sample-github-client/com/example/retrofit/package-use.html create mode 100644 website/1.x/sample-github-client/constant-values.html create mode 100644 website/1.x/sample-github-client/deprecated-list.html create mode 100644 website/1.x/sample-github-client/help-doc.html create mode 100644 website/1.x/sample-github-client/index-all.html create mode 100644 website/1.x/sample-github-client/index.html create mode 100644 website/1.x/sample-github-client/overview-tree.html create mode 100644 website/1.x/sample-github-client/package-list create mode 100644 website/1.x/sample-github-client/resources/inherit.gif create mode 100644 website/1.x/sample-github-client/stylesheet.css create mode 100644 website/1.x/sample-github-client/version.txt diff --git a/build.gradle b/build.gradle index aac54d6f2c..ceed00ccab 100644 --- a/build.gradle +++ b/build.gradle @@ -90,3 +90,32 @@ subprojects { } } } + +tasks.create('clean', Delete) { + delete = layout.buildDirectory +} + +tasks.create('prepareWebsite', Copy) { + description = 'Combines the static website along with generated documentation' + group = JavaBasePlugin.DOCUMENTATION_GROUP + + into layout.buildDirectory.dir('docs/site') + from('website') + + gradle.projectsEvaluated { + into('2.x') { + subprojects { subproject -> + if (subproject.name == 'retrofit-bom') return + if (!subproject.plugins.hasPlugin('com.vanniktech.maven.publish')) return + + into(subproject.POM_ARTIFACT_ID) { + if (subproject.plugins.hasPlugin('org.jetbrains.dokka')) { + from subproject.tasks.named('dokkaHtml').flatMap { it.outputDirectory } + } else { + from subproject.tasks.named('javadoc').map { it.destinationDir } + } + } + } + } + } +} diff --git a/deploy_website.sh b/deploy_website.sh deleted file mode 100755 index f7c8b370db..0000000000 --- a/deploy_website.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -set -ex - -REPO="git@github.com:square/retrofit.git" -DIR=temp-clone - -# Delete any existing temporary website clone -rm -rf $DIR - -# Clone the current repo into temp folder -git clone $REPO $DIR - -# Move working directory into temp folder -cd $DIR - -# Checkout and track the gh-pages branch -git checkout -t origin/gh-pages - -# Delete everything that isn't versioned (1.x, 2.x) -ls | grep -E -v '^\d+\.x$' | xargs rm -rf - -# Copy website files from real repo -cp -R ../website/* . - -# Stage all files in git and create a commit -git add . -git add -u -git commit -m "Website at $(date)" - -# Push the new files up to GitHub -git push origin gh-pages - -# Delete our temp folder -cd .. -rm -rf $DIR diff --git a/retrofit-converters/kotlinx-serialization/build.gradle b/retrofit-converters/kotlinx-serialization/build.gradle index 4840f410a7..ff805ae2bd 100644 --- a/retrofit-converters/kotlinx-serialization/build.gradle +++ b/retrofit-converters/kotlinx-serialization/build.gradle @@ -1,6 +1,7 @@ apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'org.jetbrains.kotlin.plugin.serialization' apply plugin: 'com.vanniktech.maven.publish' +apply plugin: 'org.jetbrains.dokka' dependencies { api projects.retrofit diff --git a/retrofit/build.gradle b/retrofit/build.gradle index c58957cba1..1fecd544bf 100644 --- a/retrofit/build.gradle +++ b/retrofit/build.gradle @@ -42,6 +42,10 @@ dependencies { compileOnly libs.findBugsAnnotations } +javadoc { + exclude('retrofit2/internal/**') +} + jar { manifest { attributes 'Automatic-Module-Name': 'retrofit2' diff --git a/website/1.x/converter-jackson/META-INF/MANIFEST.MF b/website/1.x/converter-jackson/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/converter-jackson/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/converter-jackson/allclasses-frame.html b/website/1.x/converter-jackson/allclasses-frame.html new file mode 100644 index 0000000000..5133f60c6c --- /dev/null +++ b/website/1.x/converter-jackson/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Jackson 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-jackson/allclasses-noframe.html b/website/1.x/converter-jackson/allclasses-noframe.html new file mode 100644 index 0000000000..7f4896ecfd --- /dev/null +++ b/website/1.x/converter-jackson/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Jackson 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-jackson/constant-values.html b/website/1.x/converter-jackson/constant-values.html new file mode 100644 index 0000000000..ee44ddbd32 --- /dev/null +++ b/website/1.x/converter-jackson/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/deprecated-list.html b/website/1.x/converter-jackson/deprecated-list.html new file mode 100644 index 0000000000..28ebb22a36 --- /dev/null +++ b/website/1.x/converter-jackson/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/help-doc.html b/website/1.x/converter-jackson/help-doc.html new file mode 100644 index 0000000000..2a4cf56366 --- /dev/null +++ b/website/1.x/converter-jackson/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/index-all.html b/website/1.x/converter-jackson/index-all.html new file mode 100644 index 0000000000..d7411259c0 --- /dev/null +++ b/website/1.x/converter-jackson/index-all.html @@ -0,0 +1,159 @@ + + + + + + +Index (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
F J R T  + + +

F

+
+
fromBody(TypedInput, Type) - Method in class retrofit.converter.JacksonConverter
+
 
+
+ + + +

J

+
+
JacksonConverter - Class in retrofit.converter
+
+
A Converter which uses Jackson for reading and writing entities.
+
+
JacksonConverter() - Constructor for class retrofit.converter.JacksonConverter
+
 
+
JacksonConverter(ObjectMapper) - Constructor for class retrofit.converter.JacksonConverter
+
 
+
+ + + +

R

+
+
retrofit.converter - package retrofit.converter
+
 
+
+ + + +

T

+
+
toBody(Object) - Method in class retrofit.converter.JacksonConverter
+
 
+
+F J R T 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/index.html b/website/1.x/converter-jackson/index.html new file mode 100644 index 0000000000..34b2984fb1 --- /dev/null +++ b/website/1.x/converter-jackson/index.html @@ -0,0 +1,72 @@ + + + + + + +Converter: Jackson 1.9.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="retrofit/converter/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/converter-jackson/overview-tree.html b/website/1.x/converter-jackson/overview-tree.html new file mode 100644 index 0000000000..ab19b23967 --- /dev/null +++ b/website/1.x/converter-jackson/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/package-list b/website/1.x/converter-jackson/package-list new file mode 100644 index 0000000000..725b908b9e --- /dev/null +++ b/website/1.x/converter-jackson/package-list @@ -0,0 +1 @@ +retrofit.converter diff --git a/website/1.x/converter-jackson/retrofit/converter/JacksonConverter.html b/website/1.x/converter-jackson/retrofit/converter/JacksonConverter.html new file mode 100644 index 0000000000..627cf1d4b5 --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/JacksonConverter.html @@ -0,0 +1,319 @@ + + + + + + +JacksonConverter (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class JacksonConverter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Converter
    +
    +
    +
    +
    public class JacksonConverter
    +extends Object
    +implements Converter
    +
    A Converter which uses Jackson for reading and writing entities.
    +
    +
    Author:
    +
    Kai Waldron (kaiwaldron@gmail.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/retrofit/converter/class-use/JacksonConverter.html b/website/1.x/converter-jackson/retrofit/converter/class-use/JacksonConverter.html new file mode 100644 index 0000000000..28f0d499fd --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/class-use/JacksonConverter.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class retrofit.converter.JacksonConverter (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.JacksonConverter

+
+
No usage of retrofit.converter.JacksonConverter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/retrofit/converter/package-frame.html b/website/1.x/converter-jackson/retrofit/converter/package-frame.html new file mode 100644 index 0000000000..36f00ae612 --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.converter (Converter: Jackson 1.9.0 API) + + + + + +

retrofit.converter

+
+

Classes

+ +
+ + diff --git a/website/1.x/converter-jackson/retrofit/converter/package-summary.html b/website/1.x/converter-jackson/retrofit/converter/package-summary.html new file mode 100644 index 0000000000..16dec4e3bc --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +retrofit.converter (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/retrofit/converter/package-tree.html b/website/1.x/converter-jackson/retrofit/converter/package-tree.html new file mode 100644 index 0000000000..3461d9f786 --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +retrofit.converter Class Hierarchy (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.converter

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/retrofit/converter/package-use.html b/website/1.x/converter-jackson/retrofit/converter/package-use.html new file mode 100644 index 0000000000..d8d09da6ad --- /dev/null +++ b/website/1.x/converter-jackson/retrofit/converter/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package retrofit.converter (Converter: Jackson 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.converter

+
+
No usage of retrofit.converter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-jackson/script.js b/website/1.x/converter-jackson/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/converter-jackson/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/converter-jackson/stylesheet.css b/website/1.x/converter-jackson/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/converter-jackson/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/converter-jackson/version.txt b/website/1.x/converter-jackson/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/converter-jackson/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/converter-protobuf/META-INF/MANIFEST.MF b/website/1.x/converter-protobuf/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/converter-protobuf/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/converter-protobuf/allclasses-frame.html b/website/1.x/converter-protobuf/allclasses-frame.html new file mode 100644 index 0000000000..44e52f801e --- /dev/null +++ b/website/1.x/converter-protobuf/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Protocol Buffers 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-protobuf/allclasses-noframe.html b/website/1.x/converter-protobuf/allclasses-noframe.html new file mode 100644 index 0000000000..073ed82d13 --- /dev/null +++ b/website/1.x/converter-protobuf/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Protocol Buffers 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-protobuf/constant-values.html b/website/1.x/converter-protobuf/constant-values.html new file mode 100644 index 0000000000..12af4b8075 --- /dev/null +++ b/website/1.x/converter-protobuf/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/deprecated-list.html b/website/1.x/converter-protobuf/deprecated-list.html new file mode 100644 index 0000000000..96eec25301 --- /dev/null +++ b/website/1.x/converter-protobuf/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/help-doc.html b/website/1.x/converter-protobuf/help-doc.html new file mode 100644 index 0000000000..08b327b33b --- /dev/null +++ b/website/1.x/converter-protobuf/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/index-all.html b/website/1.x/converter-protobuf/index-all.html new file mode 100644 index 0000000000..e95f649e2b --- /dev/null +++ b/website/1.x/converter-protobuf/index-all.html @@ -0,0 +1,157 @@ + + + + + + +Index (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
F P R T  + + +

F

+
+
fromBody(TypedInput, Type) - Method in class retrofit.converter.ProtoConverter
+
 
+
+ + + +

P

+
+
ProtoConverter - Class in retrofit.converter
+
+
A Converter that reads and writes protocol buffers.
+
+
ProtoConverter() - Constructor for class retrofit.converter.ProtoConverter
+
 
+
+ + + +

R

+
+
retrofit.converter - package retrofit.converter
+
 
+
+ + + +

T

+
+
toBody(Object) - Method in class retrofit.converter.ProtoConverter
+
 
+
+F P R T 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/index.html b/website/1.x/converter-protobuf/index.html new file mode 100644 index 0000000000..4e8fd3b420 --- /dev/null +++ b/website/1.x/converter-protobuf/index.html @@ -0,0 +1,72 @@ + + + + + + +Converter: Protocol Buffers 1.9.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="retrofit/converter/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/converter-protobuf/overview-tree.html b/website/1.x/converter-protobuf/overview-tree.html new file mode 100644 index 0000000000..d1cded2601 --- /dev/null +++ b/website/1.x/converter-protobuf/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/package-list b/website/1.x/converter-protobuf/package-list new file mode 100644 index 0000000000..725b908b9e --- /dev/null +++ b/website/1.x/converter-protobuf/package-list @@ -0,0 +1 @@ +retrofit.converter diff --git a/website/1.x/converter-protobuf/retrofit/converter/ProtoConverter.html b/website/1.x/converter-protobuf/retrofit/converter/ProtoConverter.html new file mode 100644 index 0000000000..c53b1d0f45 --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/ProtoConverter.html @@ -0,0 +1,303 @@ + + + + + + +ProtoConverter (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class ProtoConverter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Converter
    +
    +
    +
    +
    public class ProtoConverter
    +extends Object
    +implements Converter
    +
    A Converter that reads and writes protocol buffers.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/retrofit/converter/class-use/ProtoConverter.html b/website/1.x/converter-protobuf/retrofit/converter/class-use/ProtoConverter.html new file mode 100644 index 0000000000..b93053ca08 --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/class-use/ProtoConverter.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class retrofit.converter.ProtoConverter (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.ProtoConverter

+
+
No usage of retrofit.converter.ProtoConverter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/retrofit/converter/package-frame.html b/website/1.x/converter-protobuf/retrofit/converter/package-frame.html new file mode 100644 index 0000000000..5cb7d49844 --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.converter (Converter: Protocol Buffers 1.9.0 API) + + + + + +

retrofit.converter

+
+

Classes

+ +
+ + diff --git a/website/1.x/converter-protobuf/retrofit/converter/package-summary.html b/website/1.x/converter-protobuf/retrofit/converter/package-summary.html new file mode 100644 index 0000000000..4b829a28fe --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +retrofit.converter (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/retrofit/converter/package-tree.html b/website/1.x/converter-protobuf/retrofit/converter/package-tree.html new file mode 100644 index 0000000000..35a16e7a5e --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +retrofit.converter Class Hierarchy (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.converter

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/retrofit/converter/package-use.html b/website/1.x/converter-protobuf/retrofit/converter/package-use.html new file mode 100644 index 0000000000..a7debb4f6d --- /dev/null +++ b/website/1.x/converter-protobuf/retrofit/converter/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package retrofit.converter (Converter: Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.converter

+
+
No usage of retrofit.converter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-protobuf/script.js b/website/1.x/converter-protobuf/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/converter-protobuf/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/converter-protobuf/stylesheet.css b/website/1.x/converter-protobuf/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/converter-protobuf/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/converter-protobuf/version.txt b/website/1.x/converter-protobuf/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/converter-protobuf/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/converter-simplexml/META-INF/MANIFEST.MF b/website/1.x/converter-simplexml/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/converter-simplexml/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/converter-simplexml/allclasses-frame.html b/website/1.x/converter-simplexml/allclasses-frame.html new file mode 100644 index 0000000000..df37b5710f --- /dev/null +++ b/website/1.x/converter-simplexml/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: SimpleXML 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-simplexml/allclasses-noframe.html b/website/1.x/converter-simplexml/allclasses-noframe.html new file mode 100644 index 0000000000..fe6ab2fa90 --- /dev/null +++ b/website/1.x/converter-simplexml/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: SimpleXML 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-simplexml/constant-values.html b/website/1.x/converter-simplexml/constant-values.html new file mode 100644 index 0000000000..ae3808e5ba --- /dev/null +++ b/website/1.x/converter-simplexml/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/deprecated-list.html b/website/1.x/converter-simplexml/deprecated-list.html new file mode 100644 index 0000000000..3aa0e55ec9 --- /dev/null +++ b/website/1.x/converter-simplexml/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/help-doc.html b/website/1.x/converter-simplexml/help-doc.html new file mode 100644 index 0000000000..3217eed00e --- /dev/null +++ b/website/1.x/converter-simplexml/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/index-all.html b/website/1.x/converter-simplexml/index-all.html new file mode 100644 index 0000000000..f4d7a453d1 --- /dev/null +++ b/website/1.x/converter-simplexml/index-all.html @@ -0,0 +1,171 @@ + + + + + + +Index (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
F I R S T  + + +

F

+
+
fromBody(TypedInput, Type) - Method in class retrofit.converter.SimpleXMLConverter
+
 
+
+ + + +

I

+
+
isStrict() - Method in class retrofit.converter.SimpleXMLConverter
+
 
+
+ + + +

R

+
+
retrofit.converter - package retrofit.converter
+
 
+
+ + + +

S

+
+
SimpleXMLConverter - Class in retrofit.converter
+
+
A Converter which uses SimpleXML for reading and writing entities.
+
+
SimpleXMLConverter() - Constructor for class retrofit.converter.SimpleXMLConverter
+
 
+
SimpleXMLConverter(boolean) - Constructor for class retrofit.converter.SimpleXMLConverter
+
 
+
SimpleXMLConverter(Serializer) - Constructor for class retrofit.converter.SimpleXMLConverter
+
 
+
SimpleXMLConverter(Serializer, boolean) - Constructor for class retrofit.converter.SimpleXMLConverter
+
 
+
+ + + +

T

+
+
toBody(Object) - Method in class retrofit.converter.SimpleXMLConverter
+
 
+
+F I R S T 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/index.html b/website/1.x/converter-simplexml/index.html new file mode 100644 index 0000000000..574f132a9e --- /dev/null +++ b/website/1.x/converter-simplexml/index.html @@ -0,0 +1,72 @@ + + + + + + +Converter: SimpleXML 1.9.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="retrofit/converter/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/converter-simplexml/overview-tree.html b/website/1.x/converter-simplexml/overview-tree.html new file mode 100644 index 0000000000..e6317ee9d1 --- /dev/null +++ b/website/1.x/converter-simplexml/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/package-list b/website/1.x/converter-simplexml/package-list new file mode 100644 index 0000000000..725b908b9e --- /dev/null +++ b/website/1.x/converter-simplexml/package-list @@ -0,0 +1 @@ +retrofit.converter diff --git a/website/1.x/converter-simplexml/retrofit/converter/SimpleXMLConverter.html b/website/1.x/converter-simplexml/retrofit/converter/SimpleXMLConverter.html new file mode 100644 index 0000000000..67ccae2a38 --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/SimpleXMLConverter.html @@ -0,0 +1,358 @@ + + + + + + +SimpleXMLConverter (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class SimpleXMLConverter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Converter
    +
    +
    +
    +
    public class SimpleXMLConverter
    +extends Object
    +implements Converter
    +
    A Converter which uses SimpleXML for reading and writing entities.
    +
    +
    Author:
    +
    Fabien Ric (fabien.ric@gmail.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SimpleXMLConverter

        +
        public SimpleXMLConverter()
        +
      • +
      + + + +
        +
      • +

        SimpleXMLConverter

        +
        public SimpleXMLConverter(boolean strict)
        +
      • +
      + + + +
        +
      • +

        SimpleXMLConverter

        +
        public SimpleXMLConverter(org.simpleframework.xml.Serializer serializer)
        +
      • +
      + + + +
        +
      • +

        SimpleXMLConverter

        +
        public SimpleXMLConverter(org.simpleframework.xml.Serializer serializer,
        +                          boolean strict)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/retrofit/converter/class-use/SimpleXMLConverter.html b/website/1.x/converter-simplexml/retrofit/converter/class-use/SimpleXMLConverter.html new file mode 100644 index 0000000000..d8d6970ea5 --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/class-use/SimpleXMLConverter.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class retrofit.converter.SimpleXMLConverter (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.SimpleXMLConverter

+
+
No usage of retrofit.converter.SimpleXMLConverter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/retrofit/converter/package-frame.html b/website/1.x/converter-simplexml/retrofit/converter/package-frame.html new file mode 100644 index 0000000000..efc9966b95 --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.converter (Converter: SimpleXML 1.9.0 API) + + + + + +

retrofit.converter

+
+

Classes

+ +
+ + diff --git a/website/1.x/converter-simplexml/retrofit/converter/package-summary.html b/website/1.x/converter-simplexml/retrofit/converter/package-summary.html new file mode 100644 index 0000000000..a329bfa85e --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +retrofit.converter (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/retrofit/converter/package-tree.html b/website/1.x/converter-simplexml/retrofit/converter/package-tree.html new file mode 100644 index 0000000000..4db4fb5c5e --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +retrofit.converter Class Hierarchy (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.converter

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/retrofit/converter/package-use.html b/website/1.x/converter-simplexml/retrofit/converter/package-use.html new file mode 100644 index 0000000000..dd1368e0c9 --- /dev/null +++ b/website/1.x/converter-simplexml/retrofit/converter/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package retrofit.converter (Converter: SimpleXML 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.converter

+
+
No usage of retrofit.converter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-simplexml/script.js b/website/1.x/converter-simplexml/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/converter-simplexml/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/converter-simplexml/stylesheet.css b/website/1.x/converter-simplexml/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/converter-simplexml/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/converter-simplexml/version.txt b/website/1.x/converter-simplexml/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/converter-simplexml/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/converter-wire/META-INF/MANIFEST.MF b/website/1.x/converter-wire/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/converter-wire/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/converter-wire/allclasses-frame.html b/website/1.x/converter-wire/allclasses-frame.html new file mode 100644 index 0000000000..abdacca7fc --- /dev/null +++ b/website/1.x/converter-wire/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-wire/allclasses-noframe.html b/website/1.x/converter-wire/allclasses-noframe.html new file mode 100644 index 0000000000..a99ec5f943 --- /dev/null +++ b/website/1.x/converter-wire/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/converter-wire/constant-values.html b/website/1.x/converter-wire/constant-values.html new file mode 100644 index 0000000000..3cb8e62baa --- /dev/null +++ b/website/1.x/converter-wire/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/deprecated-list.html b/website/1.x/converter-wire/deprecated-list.html new file mode 100644 index 0000000000..02dbb96783 --- /dev/null +++ b/website/1.x/converter-wire/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/help-doc.html b/website/1.x/converter-wire/help-doc.html new file mode 100644 index 0000000000..2645656fc7 --- /dev/null +++ b/website/1.x/converter-wire/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/index-all.html b/website/1.x/converter-wire/index-all.html new file mode 100644 index 0000000000..200e69a197 --- /dev/null +++ b/website/1.x/converter-wire/index-all.html @@ -0,0 +1,163 @@ + + + + + + +Index (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
F R T W  + + +

F

+
+
fromBody(TypedInput, Type) - Method in class retrofit.converter.WireConverter
+
 
+
+ + + +

R

+
+
retrofit.converter - package retrofit.converter
+
 
+
+ + + +

T

+
+
toBody(Object) - Method in class retrofit.converter.WireConverter
+
 
+
+ + + +

W

+
+
WireConverter - Class in retrofit.converter
+
+
A Converter that reads and writes protocol buffers using Wire.
+
+
WireConverter() - Constructor for class retrofit.converter.WireConverter
+
+
Create a converter with a default Wire instance.
+
+
WireConverter(Wire) - Constructor for class retrofit.converter.WireConverter
+
+
Create a converter using the supplied Wire instance.
+
+
+F R T W 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/index.html b/website/1.x/converter-wire/index.html new file mode 100644 index 0000000000..06420e81d0 --- /dev/null +++ b/website/1.x/converter-wire/index.html @@ -0,0 +1,72 @@ + + + + + + +Converter: Wire Protocol Buffers 1.9.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="retrofit/converter/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/converter-wire/overview-tree.html b/website/1.x/converter-wire/overview-tree.html new file mode 100644 index 0000000000..2898e2ad7d --- /dev/null +++ b/website/1.x/converter-wire/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/package-list b/website/1.x/converter-wire/package-list new file mode 100644 index 0000000000..725b908b9e --- /dev/null +++ b/website/1.x/converter-wire/package-list @@ -0,0 +1 @@ +retrofit.converter diff --git a/website/1.x/converter-wire/retrofit/converter/WireConverter.html b/website/1.x/converter-wire/retrofit/converter/WireConverter.html new file mode 100644 index 0000000000..fc1bb68e2e --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/WireConverter.html @@ -0,0 +1,321 @@ + + + + + + +WireConverter (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class WireConverter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Converter
    +
    +
    +
    +
    public class WireConverter
    +extends Object
    +implements Converter
    +
    A Converter that reads and writes protocol buffers using Wire.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/retrofit/converter/class-use/WireConverter.html b/website/1.x/converter-wire/retrofit/converter/class-use/WireConverter.html new file mode 100644 index 0000000000..12531dd7ba --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/class-use/WireConverter.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class retrofit.converter.WireConverter (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.WireConverter

+
+
No usage of retrofit.converter.WireConverter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/retrofit/converter/package-frame.html b/website/1.x/converter-wire/retrofit/converter/package-frame.html new file mode 100644 index 0000000000..e035dc51e5 --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.converter (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + +

retrofit.converter

+
+

Classes

+ +
+ + diff --git a/website/1.x/converter-wire/retrofit/converter/package-summary.html b/website/1.x/converter-wire/retrofit/converter/package-summary.html new file mode 100644 index 0000000000..089c2f8f64 --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +retrofit.converter (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/retrofit/converter/package-tree.html b/website/1.x/converter-wire/retrofit/converter/package-tree.html new file mode 100644 index 0000000000..136a7259d9 --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +retrofit.converter Class Hierarchy (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.converter

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/retrofit/converter/package-use.html b/website/1.x/converter-wire/retrofit/converter/package-use.html new file mode 100644 index 0000000000..481caf4dec --- /dev/null +++ b/website/1.x/converter-wire/retrofit/converter/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package retrofit.converter (Converter: Wire Protocol Buffers 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.converter

+
+
No usage of retrofit.converter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/converter-wire/script.js b/website/1.x/converter-wire/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/converter-wire/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/converter-wire/stylesheet.css b/website/1.x/converter-wire/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/converter-wire/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/converter-wire/version.txt b/website/1.x/converter-wire/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/converter-wire/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/retrofit-mock/META-INF/MANIFEST.MF b/website/1.x/retrofit-mock/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/retrofit-mock/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/retrofit-mock/allclasses-frame.html b/website/1.x/retrofit-mock/allclasses-frame.html new file mode 100644 index 0000000000..21476922a5 --- /dev/null +++ b/website/1.x/retrofit-mock/allclasses-frame.html @@ -0,0 +1,23 @@ + + + + + + +All Classes (Retrofit Mock Adapter 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/retrofit-mock/allclasses-noframe.html b/website/1.x/retrofit-mock/allclasses-noframe.html new file mode 100644 index 0000000000..61ae110099 --- /dev/null +++ b/website/1.x/retrofit-mock/allclasses-noframe.html @@ -0,0 +1,23 @@ + + + + + + +All Classes (Retrofit Mock Adapter 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/retrofit-mock/constant-values.html b/website/1.x/retrofit-mock/constant-values.html new file mode 100644 index 0000000000..b80a90cdbf --- /dev/null +++ b/website/1.x/retrofit-mock/constant-values.html @@ -0,0 +1,126 @@ + + + + + + +Constant Field Values (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/deprecated-list.html b/website/1.x/retrofit-mock/deprecated-list.html new file mode 100644 index 0000000000..99fe7b599d --- /dev/null +++ b/website/1.x/retrofit-mock/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Deprecated List (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/help-doc.html b/website/1.x/retrofit-mock/help-doc.html new file mode 100644 index 0000000000..5786b19084 --- /dev/null +++ b/website/1.x/retrofit-mock/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/index-all.html b/website/1.x/retrofit-mock/index-all.html new file mode 100644 index 0000000000..37e5335c3b --- /dev/null +++ b/website/1.x/retrofit-mock/index-all.html @@ -0,0 +1,314 @@ + + + + + + +Index (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
A C E F G I M N O R S W  + + +

A

+
+
AndroidMockValuePersistence - Class in retrofit.android
+
+
A value change listener for MockRestAdapter + which stores any customized behavior values into shared preferences.
+
+
+ + + +

C

+
+
calculateDelayForCall() - Method in class retrofit.MockRestAdapter
+
+
Get the delay (in milliseconds) that should be used for delaying a network call response.
+
+
calculateDelayForError() - Method in class retrofit.MockRestAdapter
+
+
Get the delay (in milliseconds) that should be used for triggering a network error.
+
+
calculateIsFailure() - Method in class retrofit.MockRestAdapter
+
+
Randomly determine whether this call should result in a network failure.
+
+
create(Class<T>, T) - Method in class retrofit.MockRestAdapter
+
+
Wrap the supplied mock implementation of a service so that it exhibits the delay and error + characteristics of a real network.
+
+
+ + + +

E

+
+
EMPTY - Static variable in interface retrofit.MockRestAdapter.ValueChangeListener
+
 
+
+ + + +

F

+
+
from(RestAdapter) - Static method in class retrofit.MockRestAdapter
+
+
Create a new MockRestAdapter which will act as a factory for mock services.
+
+
+ + + +

G

+
+
getDelay() - Method in class retrofit.MockRestAdapter
+
+
The network round trip delay, in milliseconds
+
+
getErrorPercentage() - Method in class retrofit.MockRestAdapter
+
+
The percentage of calls to MockRestAdapter.calculateIsFailure() that return true.
+
+
getVariancePercentage() - Method in class retrofit.MockRestAdapter
+
+
The plus-or-minus variance percentage of the network round trip delay.
+
+
+ + + +

I

+
+
install(MockRestAdapter, SharedPreferences) - Static method in class retrofit.android.AndroidMockValuePersistence
+
+
Install a value change listener on the supplied + MockRestAdapter using the SharedPreferences for storing customized behavior + values.
+
+
+ + + +

M

+
+
MockHttpException - Exception in retrofit
+
+
An exception used to trigger the simulation of an HTTP error for mock services.
+
+
MockHttpException(int, String, Object) - Constructor for exception retrofit.MockHttpException
+
+
Create a new HTTP exception.
+
+
MockRestAdapter - Class in retrofit
+
+
Wraps mock implementations of API interfaces so that they exhibit the delay and error + characteristics of a real network.
+
+
MockRestAdapter.ValueChangeListener - Interface in retrofit
+
+
A listener invoked when the network behavior values for a MockRestAdapter change.
+
+
+ + + +

N

+
+
newBadRequest(Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 400 Bad Request.
+
+
newForbidden(Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 403 Forbidden.
+
+
newInternalError(Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 500 Internal Server Error.
+
+
newMovedPermanentely(String, Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 301 Moved Permanently.
+
+
newMovedTemporarily(String, Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 302 Moved Temporarily.
+
+
newNotFound(Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 404 Not Found.
+
+
newUnauthorized(Object) - Static method in exception retrofit.MockHttpException
+
+
Create a new MockHttpException for HTTP 401 Unauthorized.
+
+
+ + + +

O

+
+
onMockValuesChanged(long, int, int) - Method in class retrofit.android.AndroidMockValuePersistence
+
 
+
onMockValuesChanged(long, int, int) - Method in interface retrofit.MockRestAdapter.ValueChangeListener
+
 
+
+ + + +

R

+
+
retrofit - package retrofit
+
 
+
retrofit.android - package retrofit.android
+
 
+
+ + + +

S

+
+
setDelay(long) - Method in class retrofit.MockRestAdapter
+
+
Set the network round trip delay, in milliseconds.
+
+
setErrorPercentage(int) - Method in class retrofit.MockRestAdapter
+
+
Set the percentage of calls to MockRestAdapter.calculateIsFailure() that return true.
+
+
setValueChangeListener(MockRestAdapter.ValueChangeListener) - Method in class retrofit.MockRestAdapter
+
+
Set a listener to be notified when any mock value changes.
+
+
setVariancePercentage(int) - Method in class retrofit.MockRestAdapter
+
+
Set the plus-or-minus variance percentage of the network round trip delay.
+
+
+ + + +

W

+
+
withHeader(String, String) - Method in exception retrofit.MockHttpException
+
+
Add a header to the response.
+
+
+A C E F G I M N O R S W 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/index.html b/website/1.x/retrofit-mock/index.html new file mode 100644 index 0000000000..05377688b5 --- /dev/null +++ b/website/1.x/retrofit-mock/index.html @@ -0,0 +1,75 @@ + + + + + + +Retrofit Mock Adapter 1.9.0 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/retrofit-mock/overview-frame.html b/website/1.x/retrofit-mock/overview-frame.html new file mode 100644 index 0000000000..fb87aabdeb --- /dev/null +++ b/website/1.x/retrofit-mock/overview-frame.html @@ -0,0 +1,23 @@ + + + + + + +Overview List (Retrofit Mock Adapter 1.9.0 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/website/1.x/retrofit-mock/overview-summary.html b/website/1.x/retrofit-mock/overview-summary.html new file mode 100644 index 0000000000..824d94fc7b --- /dev/null +++ b/website/1.x/retrofit-mock/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +Overview (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Retrofit Mock Adapter 1.9.0 API

+
+
+ + + + + + + + + + + + + + + + +
Packages 
PackageDescription
retrofit 
retrofit.android 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/overview-tree.html b/website/1.x/retrofit-mock/overview-tree.html new file mode 100644 index 0000000000..8ccda2b175 --- /dev/null +++ b/website/1.x/retrofit-mock/overview-tree.html @@ -0,0 +1,158 @@ + + + + + + +Class Hierarchy (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/package-list b/website/1.x/retrofit-mock/package-list new file mode 100644 index 0000000000..18e9d3a2cb --- /dev/null +++ b/website/1.x/retrofit-mock/package-list @@ -0,0 +1,2 @@ +retrofit +retrofit.android diff --git a/website/1.x/retrofit-mock/retrofit/MockHttpException.html b/website/1.x/retrofit-mock/retrofit/MockHttpException.html new file mode 100644 index 0000000000..ddc6c9787f --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/MockHttpException.html @@ -0,0 +1,439 @@ + + + + + + +MockHttpException (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class MockHttpException

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/MockRestAdapter.ValueChangeListener.html b/website/1.x/retrofit-mock/retrofit/MockRestAdapter.ValueChangeListener.html new file mode 100644 index 0000000000..199f37b093 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/MockRestAdapter.ValueChangeListener.html @@ -0,0 +1,272 @@ + + + + + + +MockRestAdapter.ValueChangeListener (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface MockRestAdapter.ValueChangeListener

+
+
+
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onMockValuesChanged

        +
        void onMockValuesChanged(long delayMs,
        +                         int variancePct,
        +                         int errorPct)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/MockRestAdapter.html b/website/1.x/retrofit-mock/retrofit/MockRestAdapter.html new file mode 100644 index 0000000000..6be4ee5b2b --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/MockRestAdapter.html @@ -0,0 +1,506 @@ + + + + + + +MockRestAdapter (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class MockRestAdapter

+
+
+ +
+
    +
  • +
    +
    +
    public final class MockRestAdapter
    +extends Object
    +
    Wraps mock implementations of API interfaces so that they exhibit the delay and error + characteristics of a real network. +

    + Because APIs are defined as interfaces, versions of the API that use mock data can be created by + simply implementing the API interface on a class. These mock implementations execute + synchronously which is a large deviation from the behavior of those backed by an API call over + the network. By wrapping the mock instances using this class, the interface will still use mock + data but exhibit the delays and errors that a real network would face. +

    + Create an API interface and a mock implementation of it. +

    +   public interface UserService {
    +     @GET("/user/{id}")
    +     User getUser(@Path("id") String userId);
    +   }
    +   public class MockUserService implements UserService {
    +     @Override public User getUser(String userId) {
    +       return new User("Jake");
    +     }
    +   }
    + 
    + Given a RestAdapter an instance of this class can be created by calling from(retrofit.RestAdapter). +
    +   MockRestAdapter mockRestAdapter = MockRestAdapter.from(restAdapter);
    + 
    + Instances of this class should be used as a singleton so that the behavior of every mock service + is consistent. +

    + Rather than using the MockUserService directly, pass it through + the create method. +

    +   UserService service = mockRestAdapter.create(UserService.class, new MockUserService());
    + 
    + The returned UserService instance will now behave like it is happening over the network + while allowing the mock implementation to be written synchronously. +

    + HTTP errors can be simulated in your mock services by throwing an instance of + MockHttpException. This should be done for both synchronous and asynchronous methods. + Do not call the failure() method of a callback.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        setValueChangeListener

        +
        public void setValueChangeListener(MockRestAdapter.ValueChangeListener listener)
        +
        Set a listener to be notified when any mock value changes.
        +
      • +
      + + + +
        +
      • +

        setDelay

        +
        public void setDelay(long delayMs)
        +
        Set the network round trip delay, in milliseconds.
        +
      • +
      + + + +
        +
      • +

        getDelay

        +
        public long getDelay()
        +
        The network round trip delay, in milliseconds
        +
      • +
      + + + +
        +
      • +

        setVariancePercentage

        +
        public void setVariancePercentage(int variancePct)
        +
        Set the plus-or-minus variance percentage of the network round trip delay.
        +
      • +
      + + + +
        +
      • +

        getVariancePercentage

        +
        public int getVariancePercentage()
        +
        The plus-or-minus variance percentage of the network round trip delay.
        +
      • +
      + + + +
        +
      • +

        setErrorPercentage

        +
        public void setErrorPercentage(int errorPct)
        +
        Set the percentage of calls to calculateIsFailure() that return true.
        +
      • +
      + + + +
        +
      • +

        getErrorPercentage

        +
        public int getErrorPercentage()
        +
        The percentage of calls to calculateIsFailure() that return true.
        +
      • +
      + + + +
        +
      • +

        calculateIsFailure

        +
        public boolean calculateIsFailure()
        +
        Randomly determine whether this call should result in a network failure. +

        + This method is exposed for implementing other, non-Retrofit services which exhibit similar + network behavior. Retrofit services automatically will exhibit network behavior when wrapped + using create(Class, Object).

        +
      • +
      + + + +
        +
      • +

        calculateDelayForError

        +
        public int calculateDelayForError()
        +
        Get the delay (in milliseconds) that should be used for triggering a network error. +

        + Because we are triggering an error, use a random delay between 0 and three times the normal + network delay to simulate a flaky connection failing anywhere from quickly to slowly. +

        + This method is exposed for implementing other, non-Retrofit services which exhibit similar + network behavior. Retrofit services automatically will exhibit network behavior when wrapped + using create(Class, Object).

        +
      • +
      + + + +
        +
      • +

        calculateDelayForCall

        +
        public int calculateDelayForCall()
        +
        Get the delay (in milliseconds) that should be used for delaying a network call response. +

        + This method is exposed for implementing other, non-Retrofit services which exhibit similar + network behavior. Retrofit services automatically will exhibit network behavior when wrapped + using create(Class, Object).

        +
      • +
      + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/AndroidMockValuePersistence.html b/website/1.x/retrofit-mock/retrofit/android/AndroidMockValuePersistence.html new file mode 100644 index 0000000000..d122865bdc --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/AndroidMockValuePersistence.html @@ -0,0 +1,291 @@ + + + + + + +AndroidMockValuePersistence (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.android
+

Class AndroidMockValuePersistence

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        install

        +
        public static void install(MockRestAdapter mockRestAdapter,
        +                           android.content.SharedPreferences preferences)
        +
        Install a value change listener on the supplied + MockRestAdapter using the SharedPreferences for storing customized behavior + values. Invoking this will load any existing stored values for the mock adapter's behavior.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/class-use/AndroidMockValuePersistence.html b/website/1.x/retrofit-mock/retrofit/android/class-use/AndroidMockValuePersistence.html new file mode 100644 index 0000000000..b072feee1a --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/class-use/AndroidMockValuePersistence.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.android.AndroidMockValuePersistence (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.android.AndroidMockValuePersistence

+
+
No usage of retrofit.android.AndroidMockValuePersistence
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/package-frame.html b/website/1.x/retrofit-mock/retrofit/android/package-frame.html new file mode 100644 index 0000000000..ea6a05a9a8 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.android (Retrofit Mock Adapter 1.9.0 API) + + + + + +

retrofit.android

+
+

Classes

+ +
+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/package-summary.html b/website/1.x/retrofit-mock/retrofit/android/package-summary.html new file mode 100644 index 0000000000..6070ef5d71 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/package-summary.html @@ -0,0 +1,147 @@ + + + + + + +retrofit.android (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.android

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/package-tree.html b/website/1.x/retrofit-mock/retrofit/android/package-tree.html new file mode 100644 index 0000000000..d236548435 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +retrofit.android Class Hierarchy (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.android

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/android/package-use.html b/website/1.x/retrofit-mock/retrofit/android/package-use.html new file mode 100644 index 0000000000..8c9ce965c6 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/android/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package retrofit.android (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.android

+
+
No usage of retrofit.android
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/class-use/MockHttpException.html b/website/1.x/retrofit-mock/retrofit/class-use/MockHttpException.html new file mode 100644 index 0000000000..52e709efb2 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/class-use/MockHttpException.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Class retrofit.MockHttpException (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.MockHttpException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.ValueChangeListener.html b/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.ValueChangeListener.html new file mode 100644 index 0000000000..c063f5ea47 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.ValueChangeListener.html @@ -0,0 +1,206 @@ + + + + + + +Uses of Interface retrofit.MockRestAdapter.ValueChangeListener (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.MockRestAdapter.ValueChangeListener

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.html b/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.html new file mode 100644 index 0000000000..da80bf3b7e --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/class-use/MockRestAdapter.html @@ -0,0 +1,195 @@ + + + + + + +Uses of Class retrofit.MockRestAdapter (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.MockRestAdapter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/package-frame.html b/website/1.x/retrofit-mock/retrofit/package-frame.html new file mode 100644 index 0000000000..b398f0cdfb --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +retrofit (Retrofit Mock Adapter 1.9.0 API) + + + + + +

retrofit

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/website/1.x/retrofit-mock/retrofit/package-summary.html b/website/1.x/retrofit-mock/retrofit/package-summary.html new file mode 100644 index 0000000000..276957104f --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/package-summary.html @@ -0,0 +1,181 @@ + + + + + + +retrofit (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/package-tree.html b/website/1.x/retrofit-mock/retrofit/package-tree.html new file mode 100644 index 0000000000..3364f620fe --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +retrofit Class Hierarchy (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/retrofit/package-use.html b/website/1.x/retrofit-mock/retrofit/package-use.html new file mode 100644 index 0000000000..b752d9fc48 --- /dev/null +++ b/website/1.x/retrofit-mock/retrofit/package-use.html @@ -0,0 +1,199 @@ + + + + + + +Uses of Package retrofit (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/script.js b/website/1.x/retrofit-mock/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/retrofit-mock/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/retrofit-mock/serialized-form.html b/website/1.x/retrofit-mock/serialized-form.html new file mode 100644 index 0000000000..205fbde385 --- /dev/null +++ b/website/1.x/retrofit-mock/serialized-form.html @@ -0,0 +1,194 @@ + + + + + + +Serialized Form (Retrofit Mock Adapter 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit-mock/stylesheet.css b/website/1.x/retrofit-mock/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/retrofit-mock/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/retrofit-mock/version.txt b/website/1.x/retrofit-mock/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/retrofit-mock/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/retrofit/META-INF/MANIFEST.MF b/website/1.x/retrofit/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..f61946eeb8 --- /dev/null +++ b/website/1.x/retrofit/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.8.0_25 + diff --git a/website/1.x/retrofit/allclasses-frame.html b/website/1.x/retrofit/allclasses-frame.html new file mode 100644 index 0000000000..79f9ae38fc --- /dev/null +++ b/website/1.x/retrofit/allclasses-frame.html @@ -0,0 +1,80 @@ + + + + + + +All Classes (Retrofit 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/retrofit/allclasses-noframe.html b/website/1.x/retrofit/allclasses-noframe.html new file mode 100644 index 0000000000..0b766718db --- /dev/null +++ b/website/1.x/retrofit/allclasses-noframe.html @@ -0,0 +1,80 @@ + + + + + + +All Classes (Retrofit 1.9.0 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/website/1.x/retrofit/constant-values.html b/website/1.x/retrofit/constant-values.html new file mode 100644 index 0000000000..f004df4a52 --- /dev/null +++ b/website/1.x/retrofit/constant-values.html @@ -0,0 +1,155 @@ + + + + + + +Constant Field Values (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

retrofit.mime.*

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/deprecated-list.html b/website/1.x/retrofit/deprecated-list.html new file mode 100644 index 0000000000..bd04aa504b --- /dev/null +++ b/website/1.x/retrofit/deprecated-list.html @@ -0,0 +1,186 @@ + + + + + + +Deprecated List (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + + + + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/help-doc.html b/website/1.x/retrofit/help-doc.html new file mode 100644 index 0000000000..ab27855ab7 --- /dev/null +++ b/website/1.x/retrofit/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/index-all.html b/website/1.x/retrofit/index-all.html new file mode 100644 index 0000000000..fceccb5010 --- /dev/null +++ b/website/1.x/retrofit/index-all.html @@ -0,0 +1,999 @@ + + + + + + +Index (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I L M N O P Q R S T U V W  + + +

A

+
+
addEncodedPathParam(String, String) - Method in interface retrofit.RequestInterceptor.RequestFacade
+
+
Add a path parameter replacement without first URI encoding.
+
+
addEncodedQueryParam(String, String) - Method in interface retrofit.RequestInterceptor.RequestFacade
+
+
Add an additional query parameter without first URI encoding.
+
+
addField(String, String) - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
addField(String, boolean, String, boolean) - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
addHeader(String, String) - Method in interface retrofit.RequestInterceptor.RequestFacade
+
+
Add a header to the request.
+
+
addPart(String, TypedOutput) - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
addPart(String, String, TypedOutput) - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
addPathParam(String, String) - Method in interface retrofit.RequestInterceptor.RequestFacade
+
+
Add a path parameter replacement.
+
+
addQueryParam(String, String) - Method in interface retrofit.RequestInterceptor.RequestFacade
+
+
Add an additional query parameter.
+
+
afterCall(Profiler.RequestInformation, long, int, T) - Method in interface retrofit.Profiler
+
+
Invoked after an HTTP method completes.
+
+
AndroidApacheClient - Class in retrofit.android
+
+
Provides a Client which uses the Android-specific version of + HttpClient, AndroidHttpClient.
+
+
AndroidApacheClient() - Constructor for class retrofit.android.AndroidApacheClient
+
 
+
AndroidLog - Class in retrofit.android
+
+
A logger for Android.
+
+
AndroidLog(String) - Constructor for class retrofit.android.AndroidLog
+
 
+
ApacheClient - Class in retrofit.client
+
+
A Client which uses an implementation of Apache's HttpClient.
+
+
ApacheClient() - Constructor for class retrofit.client.ApacheClient
+
+
Creates an instance backed by DefaultHttpClient.
+
+
ApacheClient(HttpClient) - Constructor for class retrofit.client.ApacheClient
+
 
+
+ + + +

B

+
+
beforeCall() - Method in interface retrofit.Profiler
+
+
Invoked before an HTTP method call.
+
+
Body - Annotation Type in retrofit.http
+
+
Use this annotation on a service method param when you want to directly control the request body + of a POST/PUT request (instead of sending in as request parameters or form-style request + body).
+
+
build() - Method in class retrofit.RestAdapter.Builder
+
+
Create the RestAdapter instances.
+
+
Builder() - Constructor for class retrofit.RestAdapter.Builder
+
 
+
+ + + +

C

+
+
Callback<T> - Interface in retrofit
+
+
Communicates responses from a server or offline requests.
+
+
Client - Interface in retrofit.client
+
+
Abstraction of an HTTP client which can execute Requests.
+
+
Client.Provider - Interface in retrofit.client
+
+
Deferred means of obtaining a Client.
+
+
conversionError(String, Response, Converter, Type, ConversionException) - Static method in exception retrofit.RetrofitError
+
 
+
ConversionException - Exception in retrofit.converter
+
+
Indicate that conversion was unable to complete successfully.
+
+
ConversionException(String) - Constructor for exception retrofit.converter.ConversionException
+
 
+
ConversionException(String, Throwable) - Constructor for exception retrofit.converter.ConversionException
+
 
+
ConversionException(Throwable) - Constructor for exception retrofit.converter.ConversionException
+
 
+
Converter - Interface in retrofit.converter
+
+
Arbiter for converting objects to and from their representation in HTTP.
+
+
create(Class<T>) - Method in class retrofit.RestAdapter
+
+
Create an implementation of the API defined by the specified service interface.
+
+
+ + + +

D

+
+
DEFAULT - Static variable in interface retrofit.ErrorHandler
+
+
An ErrorHandler which returns the original error.
+
+
DEFAULT_TRANSFER_ENCODING - Static variable in class retrofit.mime.MultipartTypedOutput
+
 
+
DELETE - Annotation Type in retrofit.http
+
+
Make a DELETE request to a REST path relative to base URL.
+
+
+ + + +

E

+
+
EncodedPath - Annotation Type in retrofit.http
+
+
Deprecated. + +
+
+
EncodedQuery - Annotation Type in retrofit.http
+
+
Deprecated. + +
+
+
EncodedQueryMap - Annotation Type in retrofit.http
+
+
Deprecated. + +
+
+
Endpoint - Interface in retrofit
+
+
Represents an API endpoint URL and associated name.
+
+
Endpoints - Class in retrofit
+
+
Static factory methods for creating Endpoint instances.
+
+
equals(Object) - Method in class retrofit.client.Header
+
 
+
equals(Object) - Method in class retrofit.mime.TypedByteArray
+
 
+
equals(Object) - Method in class retrofit.mime.TypedFile
+
 
+
ErrorHandler - Interface in retrofit
+
+
A hook allowing clients to customize response exceptions.
+
+
execute(Runnable) - Method in class retrofit.android.MainThreadExecutor
+
 
+
execute(Request) - Method in class retrofit.appengine.UrlFetchClient
+
 
+
execute(URLFetchService, HTTPRequest) - Method in class retrofit.appengine.UrlFetchClient
+
+
Execute the specified request using the provided urlFetchService.
+
+
execute(Request) - Method in class retrofit.client.ApacheClient
+
 
+
execute(HttpClient, HttpUriRequest) - Method in class retrofit.client.ApacheClient
+
+
Execute the specified request using the provided client.
+
+
execute(Request) - Method in interface retrofit.client.Client
+
+
Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance.
+
+
execute(Request) - Method in class retrofit.client.OkClient
+
 
+
execute(Request) - Method in class retrofit.client.UrlConnectionClient
+
 
+
+ + + +

F

+
+
failure(RetrofitError) - Method in interface retrofit.Callback
+
+
Unsuccessful HTTP response due to network failure, non-2XX status code, or unexpected + exception.
+
+
Field - Annotation Type in retrofit.http
+
+
Named pair for a form-encoded request.
+
+
FieldMap - Annotation Type in retrofit.http
+
+
Named key/value pairs for a form-encoded request.
+
+
file() - Method in class retrofit.mime.TypedFile
+
+
Returns the file.
+
+
fileName() - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
fileName() - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
fileName() - Method in class retrofit.mime.TypedByteArray
+
 
+
fileName() - Method in class retrofit.mime.TypedFile
+
 
+
fileName() - Method in interface retrofit.mime.TypedOutput
+
+
Original filename.
+
+
FormUrlEncoded - Annotation Type in retrofit.http
+
+
Denotes that the request body will use form URL encoding.
+
+
FormUrlEncodedTypedOutput - Class in retrofit.mime
+
 
+
FormUrlEncodedTypedOutput() - Constructor for class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
fromBody(TypedInput, Type) - Method in interface retrofit.converter.Converter
+
+
Convert an HTTP response body to a concrete object of the specified type.
+
+
fromBody(TypedInput, Type) - Method in class retrofit.converter.GsonConverter
+
 
+
+ + + +

G

+
+
get() - Method in interface retrofit.client.Client.Provider
+
+
Obtain an HTTP client.
+
+
GET - Annotation Type in retrofit.http
+
+
Make a GET request to a REST path relative to base URL.
+
+
getBaseUrl() - Method in class retrofit.Profiler.RequestInformation
+
+
Returns the URL to which the originating request was sent.
+
+
getBody() - Method in class retrofit.client.Request
+
+
Returns the request body or null.
+
+
getBody() - Method in class retrofit.client.Response
+
+
Response body.
+
+
getBody() - Method in exception retrofit.RetrofitError
+
+
HTTP response body converted to the type declared by either the interface method return type + or the generic type of the supplied Callback parameter.
+
+
getBodyAs(Type) - Method in exception retrofit.RetrofitError
+
+
HTTP response body converted to specified type.
+
+
getBytes() - Method in class retrofit.mime.TypedByteArray
+
 
+
getContentLength() - Method in class retrofit.Profiler.RequestInformation
+
+
Returns the number of bytes in the originating request.
+
+
getContentType() - Method in class retrofit.Profiler.RequestInformation
+
+
Returns the content type header value of the originating request.
+
+
getHeaders() - Method in class retrofit.client.Request
+
+
Returns an unmodifiable list of headers, never null.
+
+
getHeaders() - Method in class retrofit.client.Response
+
+
An unmodifiable collection of headers.
+
+
getKind() - Method in exception retrofit.RetrofitError
+
+
The event kind which triggered this error.
+
+
getLogLevel() - Method in class retrofit.RestAdapter
+
+
The current logging level.
+
+
getMethod() - Method in class retrofit.client.Request
+
+
HTTP method verb.
+
+
getMethod() - Method in class retrofit.Profiler.RequestInformation
+
+
Returns the HTTP method of the originating request.
+
+
getName() - Method in class retrofit.client.Header
+
 
+
getName() - Method in interface retrofit.Endpoint
+
+
A name for differentiating between multiple API URLs.
+
+
getPartCount() - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
getReason() - Method in class retrofit.client.Response
+
+
Status line reason phrase.
+
+
getRelativePath() - Method in class retrofit.Profiler.RequestInformation
+
+
Returns the path relative to the base URL to which the originating request was sent.
+
+
getResponse() - Method in exception retrofit.RetrofitError
+
+
Response object containing status code, headers, body, etc.
+
+
getStatus() - Method in class retrofit.client.Response
+
+
Status line code.
+
+
getSuccessType() - Method in exception retrofit.RetrofitError
+
+
The type declared by either the interface method return type or the generic type of the + supplied Callback parameter.
+
+
getTag() - Method in class retrofit.android.AndroidLog
+
 
+
getUrl() - Method in class retrofit.client.Request
+
+
Target URL.
+
+
getUrl() - Method in class retrofit.client.Response
+
+
Request URL.
+
+
getUrl() - Method in interface retrofit.Endpoint
+
+
The base API URL.
+
+
getUrl() - Method in exception retrofit.RetrofitError
+
+
The request URL which produced the error.
+
+
getValue() - Method in class retrofit.client.Header
+
 
+
GsonConverter - Class in retrofit.converter
+
+
A Converter which uses GSON for serialization and deserialization of entities.
+
+
GsonConverter(Gson) - Constructor for class retrofit.converter.GsonConverter
+
+
Create an instance using the supplied Gson object for conversion.
+
+
GsonConverter(Gson, String) - Constructor for class retrofit.converter.GsonConverter
+
+
Create an instance using the supplied Gson object for conversion.
+
+
+ + + +

H

+
+
handleError(RetrofitError) - Method in interface retrofit.ErrorHandler
+
+
Return a custom exception to be thrown for a RetrofitError.
+
+
hashCode() - Method in class retrofit.client.Header
+
 
+
hashCode() - Method in class retrofit.mime.TypedByteArray
+
 
+
hashCode() - Method in class retrofit.mime.TypedFile
+
 
+
HEAD - Annotation Type in retrofit.http
+
+
Make a HEAD request to a REST path relative to base URL.
+
+
Header - Class in retrofit.client
+
+
Represents an HTTP header name/value pair.
+
+
Header(String, String) - Constructor for class retrofit.client.Header
+
 
+
Header - Annotation Type in retrofit.http
+
+
Replaces the header with the the value of its target.
+
+
Headers - Annotation Type in retrofit.http
+
+
Adds headers literally supplied in the value.
+
+
httpError(String, Response, Converter, Type) - Static method in exception retrofit.RetrofitError
+
 
+
+ + + +

I

+
+
in() - Method in class retrofit.mime.TypedByteArray
+
 
+
in() - Method in class retrofit.mime.TypedFile
+
 
+
in() - Method in interface retrofit.mime.TypedInput
+
+
Read bytes as stream.
+
+
intercept(RequestInterceptor.RequestFacade) - Method in interface retrofit.RequestInterceptor
+
+
Called for every request.
+
+
isNetworkError() - Method in exception retrofit.RetrofitError
+
+
Deprecated. + +
+
+
+ + + +

L

+
+
length() - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
length() - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
length() - Method in class retrofit.mime.TypedByteArray
+
 
+
length() - Method in class retrofit.mime.TypedFile
+
 
+
length() - Method in interface retrofit.mime.TypedInput
+
+
Length in bytes.
+
+
length() - Method in interface retrofit.mime.TypedOutput
+
+
Length in bytes or -1 if unknown.
+
+
log(String) - Method in class retrofit.android.AndroidLog
+
 
+
log(String) - Method in interface retrofit.RestAdapter.Log
+
+
Log a debug message to the appropriate console.
+
+
log() - Method in enum retrofit.RestAdapter.LogLevel
+
 
+
logChunk(String) - Method in class retrofit.android.AndroidLog
+
+
Called one or more times for each call to AndroidLog.log(String).
+
+
+ + + +

M

+
+
MainThreadExecutor - Class in retrofit.android
+
+
Executor that runs tasks on Android's main thread.
+
+
MainThreadExecutor() - Constructor for class retrofit.android.MainThreadExecutor
+
 
+
mimeType() - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
mimeType() - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
mimeType() - Method in class retrofit.mime.TypedByteArray
+
 
+
mimeType() - Method in class retrofit.mime.TypedFile
+
 
+
mimeType() - Method in interface retrofit.mime.TypedInput
+
+
Returns the mime type.
+
+
mimeType() - Method in interface retrofit.mime.TypedOutput
+
+
Returns the mime type.
+
+
MimeUtil - Class in retrofit.mime
+
 
+
moveTo(TypedFile) - Method in class retrofit.mime.TypedFile
+
+
Atomically moves the contents of this file to a new location.
+
+
Multipart - Annotation Type in retrofit.http
+
+
Denotes that the request body is multi-part.
+
+
MultipartTypedOutput - Class in retrofit.mime
+
 
+
MultipartTypedOutput() - Constructor for class retrofit.mime.MultipartTypedOutput
+
 
+
+ + + +

N

+
+
networkError(String, IOException) - Static method in exception retrofit.RetrofitError
+
 
+
newFixedEndpoint(String) - Static method in class retrofit.Endpoints
+
+
Create a server with the provided URL.
+
+
newFixedEndpoint(String, String) - Static method in class retrofit.Endpoints
+
+
Create an endpoint with the provided URL and name.
+
+
NONE - Static variable in interface retrofit.RequestInterceptor
+
+
A RequestInterceptor which does no modification of requests.
+
+
NONE - Static variable in interface retrofit.RestAdapter.Log
+
+
A RestAdapter.Log implementation which does not log anything.
+
+
+ + + +

O

+
+
OkClient - Class in retrofit.client
+
+
Retrofit client that uses OkHttp for communication.
+
+
OkClient() - Constructor for class retrofit.client.OkClient
+
 
+
OkClient(OkHttpClient) - Constructor for class retrofit.client.OkClient
+
 
+
openConnection(Request) - Method in class retrofit.client.UrlConnectionClient
+
 
+
+ + + +

P

+
+
parseCharset(String) - Static method in class retrofit.mime.MimeUtil
+
+ +
+
parseCharset(String, String) - Static method in class retrofit.mime.MimeUtil
+
+
Parse the MIME type from a Content-Type header value.
+
+
Part - Annotation Type in retrofit.http
+
+
Denotes a single part of a multi-part request.
+
+
PartMap - Annotation Type in retrofit.http
+
+
Denotes name and value parts of a multi-part request
+
+
PATCH - Annotation Type in retrofit.http
+
+
Make a PATCH request to a REST path relative to base URL.
+
+
Path - Annotation Type in retrofit.http
+
+
Named replacement in the URL path.
+
+
POST - Annotation Type in retrofit.http
+
+
Make a POST request to a REST path relative to base URL.
+
+
Profiler<T> - Interface in retrofit
+
+
A hook allowing clients to log HTTP method times and response status codes.
+
+
Profiler.RequestInformation - Class in retrofit
+
+
Information about the HTTP request.
+
+
PUT - Annotation Type in retrofit.http
+
+
Make a PUT request to a REST path relative to base URL.
+
+
+ + + +

Q

+
+
Query - Annotation Type in retrofit.http
+
+
Query parameter appended to the URL.
+
+
QueryMap - Annotation Type in retrofit.http
+
+
Query parameter keys and values appended to the URL.
+
+
+ + + +

R

+
+
Request - Class in retrofit.client
+
+
Encapsulates all of the information necessary to make an HTTP request.
+
+
Request(String, String, List<Header>, TypedOutput) - Constructor for class retrofit.client.Request
+
 
+
RequestInformation(String, String, String, long, String) - Constructor for class retrofit.Profiler.RequestInformation
+
 
+
RequestInterceptor - Interface in retrofit
+
+
Intercept every request before it is executed in order to add additional data.
+
+
RequestInterceptor.RequestFacade - Interface in retrofit
+
 
+
Response - Class in retrofit.client
+
+
An HTTP response.
+
+
Response(String, int, String, List<Header>, TypedInput) - Constructor for class retrofit.client.Response
+
 
+
ResponseCallback - Class in retrofit
+
+
An extension of Callback which returns only Response object + in Callback.success(Object, retrofit.client.Response) method.
+
+
ResponseCallback() - Constructor for class retrofit.ResponseCallback
+
 
+
RestAdapter - Class in retrofit
+
+
Adapts a Java interface to a REST API.
+
+
RestAdapter.Builder - Class in retrofit
+
+
Build a new RestAdapter.
+
+
RestAdapter.Log - Interface in retrofit
+
+
Simple logging abstraction for debug messages.
+
+
RestAdapter.LogLevel - Enum in retrofit
+
+
Controls the level of logging.
+
+
RestMethod - Annotation Type in retrofit.http
+
 
+
retrofit - package retrofit
+
+
Retrofit turns your REST API into a Java interface.
+
+
retrofit.android - package retrofit.android
+
 
+
retrofit.appengine - package retrofit.appengine
+
 
+
retrofit.client - package retrofit.client
+
 
+
retrofit.converter - package retrofit.converter
+
 
+
retrofit.http - package retrofit.http
+
+
Annotations for interface methods to control the HTTP request behavior.
+
+
retrofit.mime - package retrofit.mime
+
 
+
RetrofitError - Exception in retrofit
+
 
+
RetrofitError.Kind - Enum in retrofit
+
+
Identifies the event kind which triggered a RetrofitError.
+
+
+ + + +

S

+
+
setClient(Client) - Method in class retrofit.RestAdapter.Builder
+
+
The HTTP client used for requests.
+
+
setClient(Client.Provider) - Method in class retrofit.RestAdapter.Builder
+
+
The HTTP client used for requests.
+
+
setConverter(Converter) - Method in class retrofit.RestAdapter.Builder
+
+
The converter used for serialization and deserialization of objects.
+
+
setEndpoint(String) - Method in class retrofit.RestAdapter.Builder
+
+
API endpoint URL.
+
+
setEndpoint(Endpoint) - Method in class retrofit.RestAdapter.Builder
+
+
API endpoint.
+
+
setErrorHandler(ErrorHandler) - Method in class retrofit.RestAdapter.Builder
+
+
The error handler allows you to customize the type of exception thrown for errors on + synchronous requests.
+
+
setExecutors(Executor, Executor) - Method in class retrofit.RestAdapter.Builder
+
+
Executors used for asynchronous HTTP client downloads and callbacks.
+
+
setLog(RestAdapter.Log) - Method in class retrofit.RestAdapter.Builder
+
+
Configure debug logging mechanism.
+
+
setLogLevel(RestAdapter.LogLevel) - Method in class retrofit.RestAdapter.Builder
+
+
Change the level of logging.
+
+
setLogLevel(RestAdapter.LogLevel) - Method in class retrofit.RestAdapter
+
+
Change the level of logging.
+
+
setProfiler(Profiler) - Method in class retrofit.RestAdapter.Builder
+
+
Set the profiler used to measure requests.
+
+
setRequestInterceptor(RequestInterceptor) - Method in class retrofit.RestAdapter.Builder
+
+
A request interceptor for adding data to every request.
+
+
Streaming - Annotation Type in retrofit.http
+
+
Treat the response body on methods returning Response as is, + i.e.
+
+
success(T, Response) - Method in interface retrofit.Callback
+
+
Successful HTTP response.
+
+
success(Response, Response) - Method in class retrofit.ResponseCallback
+
 
+
success(Response) - Method in class retrofit.ResponseCallback
+
+
Successful HTTP response.
+
+
+ + + +

T

+
+
toBody(Object) - Method in interface retrofit.converter.Converter
+
+
Convert an object to an appropriate representation for HTTP transport.
+
+
toBody(Object) - Method in class retrofit.converter.GsonConverter
+
 
+
toString() - Method in class retrofit.client.Header
+
 
+
toString() - Method in class retrofit.mime.TypedByteArray
+
 
+
toString() - Method in class retrofit.mime.TypedFile
+
 
+
toString() - Method in class retrofit.mime.TypedString
+
 
+
TypedByteArray - Class in retrofit.mime
+
+
Byte array and its mime type.
+
+
TypedByteArray(String, byte[]) - Constructor for class retrofit.mime.TypedByteArray
+
+
Constructs a new typed byte array.
+
+
TypedFile - Class in retrofit.mime
+
+
File and its mime type.
+
+
TypedFile(String, File) - Constructor for class retrofit.mime.TypedFile
+
+
Constructs a new typed file.
+
+
TypedInput - Interface in retrofit.mime
+
+
Binary data with an associated mime type.
+
+
TypedOutput - Interface in retrofit.mime
+
+
Binary data with an associated mime type.
+
+
TypedString - Class in retrofit.mime
+
 
+
TypedString(String) - Constructor for class retrofit.mime.TypedString
+
 
+
+ + + +

U

+
+
unexpectedError(String, Throwable) - Static method in exception retrofit.RetrofitError
+
 
+
UrlConnectionClient - Class in retrofit.client
+
+
Retrofit client that uses HttpURLConnection for communication.
+
+
UrlConnectionClient() - Constructor for class retrofit.client.UrlConnectionClient
+
 
+
UrlFetchClient - Class in retrofit.appengine
+
+
A Client for Google AppEngine's which uses its URLFetchService.
+
+
UrlFetchClient() - Constructor for class retrofit.appengine.UrlFetchClient
+
 
+
UrlFetchClient(URLFetchService) - Constructor for class retrofit.appengine.UrlFetchClient
+
 
+
+ + + +

V

+
+
valueOf(String) - Static method in enum retrofit.RestAdapter.LogLevel
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum retrofit.RetrofitError.Kind
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum retrofit.RestAdapter.LogLevel
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum retrofit.RetrofitError.Kind
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
+ + + +

W

+
+
writeTo(OutputStream) - Method in class retrofit.mime.FormUrlEncodedTypedOutput
+
 
+
writeTo(OutputStream) - Method in class retrofit.mime.MultipartTypedOutput
+
 
+
writeTo(OutputStream) - Method in class retrofit.mime.TypedByteArray
+
 
+
writeTo(OutputStream) - Method in class retrofit.mime.TypedFile
+
 
+
writeTo(OutputStream) - Method in interface retrofit.mime.TypedOutput
+
+
Writes these bytes to the given output stream.
+
+
+A B C D E F G H I L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/index.html b/website/1.x/retrofit/index.html new file mode 100644 index 0000000000..fa539c0d84 --- /dev/null +++ b/website/1.x/retrofit/index.html @@ -0,0 +1,75 @@ + + + + + + +Retrofit 1.9.0 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/website/1.x/retrofit/overview-frame.html b/website/1.x/retrofit/overview-frame.html new file mode 100644 index 0000000000..eaf3b8d74d --- /dev/null +++ b/website/1.x/retrofit/overview-frame.html @@ -0,0 +1,28 @@ + + + + + + +Overview List (Retrofit 1.9.0 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/website/1.x/retrofit/overview-summary.html b/website/1.x/retrofit/overview-summary.html new file mode 100644 index 0000000000..d9cf5771cb --- /dev/null +++ b/website/1.x/retrofit/overview-summary.html @@ -0,0 +1,168 @@ + + + + + + +Overview (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Retrofit 1.9.0 API

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
retrofit +
Retrofit turns your REST API into a Java interface.
+
retrofit.android 
retrofit.appengine 
retrofit.client 
retrofit.converter 
retrofit.http +
Annotations for interface methods to control the HTTP request behavior.
+
retrofit.mime 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/overview-tree.html b/website/1.x/retrofit/overview-tree.html new file mode 100644 index 0000000000..ad4b32eeeb --- /dev/null +++ b/website/1.x/retrofit/overview-tree.html @@ -0,0 +1,240 @@ + + + + + + +Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/package-list b/website/1.x/retrofit/package-list new file mode 100644 index 0000000000..269bc98585 --- /dev/null +++ b/website/1.x/retrofit/package-list @@ -0,0 +1,7 @@ +retrofit +retrofit.android +retrofit.appengine +retrofit.client +retrofit.converter +retrofit.http +retrofit.mime diff --git a/website/1.x/retrofit/retrofit/Callback.html b/website/1.x/retrofit/retrofit/Callback.html new file mode 100644 index 0000000000..e6df9767aa --- /dev/null +++ b/website/1.x/retrofit/retrofit/Callback.html @@ -0,0 +1,269 @@ + + + + + + +Callback (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface Callback<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - expected response type
    +
    +
    +
    All Known Implementing Classes:
    +
    ResponseCallback
    +
    +
    +
    +
    public interface Callback<T>
    +
    Communicates responses from a server or offline requests. One and only one method will be + invoked in response to a given request. +

    + Callback methods are executed using the RestAdapter callback executor. When none is + specified, the following defaults are used: +

      +
    • Android: Callbacks are executed on the application's main (UI) thread.
    • +
    • JVM: Callbacks are executed on the background thread which performed the request.
    • +
    +
    +
    See Also:
    +
    RestAdapter.Builder.setExecutors(java.util.concurrent.Executor, java.util.concurrent.Executor)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        success

        +
        void success(T t,
        +             Response response)
        +
        Successful HTTP response.
        +
      • +
      + + + +
        +
      • +

        failure

        +
        void failure(RetrofitError error)
        +
        Unsuccessful HTTP response due to network failure, non-2XX status code, or unexpected + exception.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/Endpoint.html b/website/1.x/retrofit/retrofit/Endpoint.html new file mode 100644 index 0000000000..7c531fbe0c --- /dev/null +++ b/website/1.x/retrofit/retrofit/Endpoint.html @@ -0,0 +1,248 @@ + + + + + + +Endpoint (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface Endpoint

+
+
+
+
    +
  • +
    +
    +
    public interface Endpoint
    +
    Represents an API endpoint URL and associated name. Callers should always consult the instance + for the latest values rather than caching the returned values.
    +
    +
    Author:
    +
    Matt Hickman (mhickman@palantir.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getUrl

        +
        String getUrl()
        +
        The base API URL.
        +
      • +
      + + + +
        +
      • +

        getName

        +
        String getName()
        +
        A name for differentiating between multiple API URLs.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/Endpoints.html b/website/1.x/retrofit/retrofit/Endpoints.html new file mode 100644 index 0000000000..c5bece8a19 --- /dev/null +++ b/website/1.x/retrofit/retrofit/Endpoints.html @@ -0,0 +1,265 @@ + + + + + + +Endpoints (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class Endpoints

+
+
+ +
+
    +
  • +
    +
    +
    public final class Endpoints
    +extends Object
    +
    Static factory methods for creating Endpoint instances.
    +
    +
    Author:
    +
    Matt Hickman (mhickman@palantir.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        newFixedEndpoint

        +
        public static Endpoint newFixedEndpoint(String url)
        +
        Create a server with the provided URL.
        +
      • +
      + + + +
        +
      • +

        newFixedEndpoint

        +
        public static Endpoint newFixedEndpoint(String url,
        +                                        String name)
        +
        Create an endpoint with the provided URL and name.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/ErrorHandler.html b/website/1.x/retrofit/retrofit/ErrorHandler.html new file mode 100644 index 0000000000..0243bf9550 --- /dev/null +++ b/website/1.x/retrofit/retrofit/ErrorHandler.html @@ -0,0 +1,293 @@ + + + + + + +ErrorHandler (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface ErrorHandler

+
+
+
+
    +
  • +
    +
    +
    public interface ErrorHandler
    +
    A hook allowing clients to customize response exceptions.
    +
    +
    Author:
    +
    Sam Beran sberan@gmail.com
    +
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handleError

        +
        Throwable handleError(RetrofitError cause)
        +
        Return a custom exception to be thrown for a RetrofitError. It is recommended that you + pass the supplied error as the cause to any new exceptions. +

        + If the return exception is checked it must be declared to be thrown on the interface method. +

        + Example usage: +

        + class MyErrorHandler implements ErrorHandler {
        +   @Override public Throwable handleError(RetrofitError cause) {
        +     Response r = cause.getResponse();
        +     if (r != null && r.getStatus() == 401) {
        +       return new UnauthorizedException(cause);
        +     }
        +     return cause;
        +   }
        + }
        + 
        +
        +
        Parameters:
        +
        cause - the original RetrofitError exception
        +
        Returns:
        +
        Throwable an exception which will be thrown from a synchronous interface method or + passed to an asynchronous error callback. Must not be null.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/Profiler.RequestInformation.html b/website/1.x/retrofit/retrofit/Profiler.RequestInformation.html new file mode 100644 index 0000000000..f7fea6fd8f --- /dev/null +++ b/website/1.x/retrofit/retrofit/Profiler.RequestInformation.html @@ -0,0 +1,353 @@ + + + + + + +Profiler.RequestInformation (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class Profiler.RequestInformation

+
+
+ +
+
    +
  • +
    +
    Enclosing interface:
    +
    Profiler<T>
    +
    +
    +
    +
    public static final class Profiler.RequestInformation
    +extends Object
    +
    Information about the HTTP request.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RequestInformation

        +
        public RequestInformation(String method,
        +                          String baseUrl,
        +                          String relativePath,
        +                          long contentLength,
        +                          String contentType)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMethod

        +
        public String getMethod()
        +
        Returns the HTTP method of the originating request.
        +
      • +
      + + + +
        +
      • +

        getBaseUrl

        +
        public String getBaseUrl()
        +
        Returns the URL to which the originating request was sent.
        +
      • +
      + + + +
        +
      • +

        getRelativePath

        +
        public String getRelativePath()
        +
        Returns the path relative to the base URL to which the originating request was sent.
        +
      • +
      + + + +
        +
      • +

        getContentLength

        +
        public long getContentLength()
        +
        Returns the number of bytes in the originating request.
        +
      • +
      + + + +
        +
      • +

        getContentType

        +
        public String getContentType()
        +
        Returns the content type header value of the originating request.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/Profiler.html b/website/1.x/retrofit/retrofit/Profiler.html new file mode 100644 index 0000000000..5e5acf04b5 --- /dev/null +++ b/website/1.x/retrofit/retrofit/Profiler.html @@ -0,0 +1,288 @@ + + + + + + +Profiler (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface Profiler<T>

+
+
+
+
    +
  • +
    +
    +
    public interface Profiler<T>
    +
    A hook allowing clients to log HTTP method times and response status codes.
    +
    +
    Author:
    +
    Eric Burke (eric@squareup.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        beforeCall

        +
        T beforeCall()
        +
        Invoked before an HTTP method call. The object returned by this method will be + passed to afterCall(retrofit.Profiler.RequestInformation, long, int, T) when the call returns. +

        + This method gives implementers the opportunity to include information that may + change during the server call in afterCall logic.

        +
      • +
      + + + + + +
        +
      • +

        afterCall

        +
        void afterCall(Profiler.RequestInformation requestInfo,
        +               long elapsedTime,
        +               int statusCode,
        +               T beforeCallData)
        +
        Invoked after an HTTP method completes. This is called from the + RestAdapter's background thread.
        +
        +
        Parameters:
        +
        requestInfo - information about the originating HTTP request.
        +
        elapsedTime - time in milliseconds it took the HTTP request to complete.
        +
        statusCode - response status code.
        +
        beforeCallData - the data returned by the corresponding beforeCall().
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RequestInterceptor.RequestFacade.html b/website/1.x/retrofit/retrofit/RequestInterceptor.RequestFacade.html new file mode 100644 index 0000000000..9542de8a7d --- /dev/null +++ b/website/1.x/retrofit/retrofit/RequestInterceptor.RequestFacade.html @@ -0,0 +1,306 @@ + + + + + + +RequestInterceptor.RequestFacade (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface RequestInterceptor.RequestFacade

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    RequestInterceptor
    +
    +
    +
    +
    public static interface RequestInterceptor.RequestFacade
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addHeader

        +
        void addHeader(String name,
        +               String value)
        +
        Add a header to the request. This will not replace any existing headers.
        +
      • +
      + + + +
        +
      • +

        addPathParam

        +
        void addPathParam(String name,
        +                  String value)
        +
        Add a path parameter replacement. This works exactly like a @Path-annotated method argument.
        +
      • +
      + + + +
        +
      • +

        addEncodedPathParam

        +
        void addEncodedPathParam(String name,
        +                         String value)
        +
        Add a path parameter replacement without first URI encoding. This works exactly like a + @Path-annotated method argument with encode=false.
        +
      • +
      + + + +
        +
      • +

        addQueryParam

        +
        void addQueryParam(String name,
        +                   String value)
        +
        Add an additional query parameter. This will not replace any existing query parameters.
        +
      • +
      + + + +
        +
      • +

        addEncodedQueryParam

        +
        void addEncodedQueryParam(String name,
        +                          String value)
        +
        Add an additional query parameter without first URI encoding. This will not replace any + existing query parameters.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RequestInterceptor.html b/website/1.x/retrofit/retrofit/RequestInterceptor.html new file mode 100644 index 0000000000..7019540c52 --- /dev/null +++ b/website/1.x/retrofit/retrofit/RequestInterceptor.html @@ -0,0 +1,285 @@ + + + + + + +RequestInterceptor (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface RequestInterceptor

+
+
+
+
    +
  • +
    +
    +
    public interface RequestInterceptor
    +
    Intercept every request before it is executed in order to add additional data.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/ResponseCallback.html b/website/1.x/retrofit/retrofit/ResponseCallback.html new file mode 100644 index 0000000000..a33ebb1fb3 --- /dev/null +++ b/website/1.x/retrofit/retrofit/ResponseCallback.html @@ -0,0 +1,313 @@ + + + + + + +ResponseCallback (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class ResponseCallback

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ResponseCallback

        +
        public ResponseCallback()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        success

        +
        public abstract void success(Response response)
        +
        Successful HTTP response.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RestAdapter.Builder.html b/website/1.x/retrofit/retrofit/RestAdapter.Builder.html new file mode 100644 index 0000000000..6fba538fee --- /dev/null +++ b/website/1.x/retrofit/retrofit/RestAdapter.Builder.html @@ -0,0 +1,481 @@ + + + + + + +RestAdapter.Builder (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class RestAdapter.Builder

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RestAdapter.Log.html b/website/1.x/retrofit/retrofit/RestAdapter.Log.html new file mode 100644 index 0000000000..1dba441531 --- /dev/null +++ b/website/1.x/retrofit/retrofit/RestAdapter.Log.html @@ -0,0 +1,274 @@ + + + + + + +RestAdapter.Log (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Interface RestAdapter.Log

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    AndroidLog
    +
    +
    +
    Enclosing class:
    +
    RestAdapter
    +
    +
    +
    +
    public static interface RestAdapter.Log
    +
    Simple logging abstraction for debug messages.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        log

        +
        void log(String message)
        +
        Log a debug message to the appropriate console.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RestAdapter.LogLevel.html b/website/1.x/retrofit/retrofit/RestAdapter.LogLevel.html new file mode 100644 index 0000000000..e1820c671f --- /dev/null +++ b/website/1.x/retrofit/retrofit/RestAdapter.LogLevel.html @@ -0,0 +1,414 @@ + + + + + + +RestAdapter.LogLevel (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Enum RestAdapter.LogLevel

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        BASIC

        +
        public static final RestAdapter.LogLevel BASIC
        +
        Log only the request method and URL and the response status code and execution time.
        +
      • +
      + + + +
        +
      • +

        HEADERS

        +
        public static final RestAdapter.LogLevel HEADERS
        +
        Log the basic information along with request and response headers.
        +
      • +
      + + + +
        +
      • +

        HEADERS_AND_ARGS

        +
        public static final RestAdapter.LogLevel HEADERS_AND_ARGS
        +
        Log the basic information along with request and response objects via toString().
        +
      • +
      + + + +
        +
      • +

        FULL

        +
        public static final RestAdapter.LogLevel FULL
        +
        Log the headers, body, and metadata for both requests and responses. +

        + Note: This requires that the entire request and response body be buffered in memory!

        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static RestAdapter.LogLevel[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (RestAdapter.LogLevel c : RestAdapter.LogLevel.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static RestAdapter.LogLevel valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        log

        +
        public boolean log()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RestAdapter.html b/website/1.x/retrofit/retrofit/RestAdapter.html new file mode 100644 index 0000000000..e22bedcc22 --- /dev/null +++ b/website/1.x/retrofit/retrofit/RestAdapter.html @@ -0,0 +1,372 @@ + + + + + + +RestAdapter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class RestAdapter

+
+
+ +
+
    +
  • +
    +
    +
    public class RestAdapter
    +extends Object
    +
    Adapts a Java interface to a REST API. +

    + API endpoints are defined as methods on an interface with annotations providing metadata about + the form in which the HTTP call should be made. +

    + The relative path for a given method is obtained from an annotation on the method describing + the request type. The built-in methods are GET, + PUT, POST, HEAD, + and DELETE. You can define your own HTTP method by creating an + annotation that takes a {code String} value and itself is annotated with + @RestMethod. +

    + Method parameters can be used to replace parts of the URL by annotating them with + @Path. Replacement sections are denoted by an identifier surrounded + by curly braces (e.g., "{foo}"). To add items to the query string of a URL use + @Query. +

    + HTTP requests happen in one of two ways: +

      +
    • On the provided HTTP Executor with callbacks marshaled to the callback + Executor. The last method parameter should be of type Callback. The HTTP + response will be converted to the callback's parameter type using the specified + Converter. If the callback parameter type uses a wildcard, + the lower bound will be used as the conversion type. +
    • On the current thread returning the response or throwing a RetrofitError. The HTTP + response will be converted to the method's return type using the specified + Converter. +
    +

    + The body of a request is denoted by the @Body annotation. The object + will be converted to request representation by a call to + toBody on the supplied + Converter for this instance. The body can also be a + TypedOutput where it will be used directly. +

    + Alternative request body formats are supported by method annotations and corresponding parameter + annotations: +

      +
    • @FormUrlEncoded - Form-encoded data with key-value + pairs specified by the @Field parameter annotation. +
    • @Multipart - RFC 2387-compliant multi-part data with parts + specified by the @Part parameter annotation. +
    +

    + Additional static headers can be added for an endpoint using the + @Headers method annotation. For per-request control over a header + annotate a parameter with @Header. +

    + For example: +

    + public interface MyApi {
    +   @POST("/category/{cat}") // Asynchronous execution.
    +   void categoryList(@Path("cat") String a, @Query("page") int b,
    +                     Callback<List<Item>> cb);
    +   @POST("/category/{cat}") // Synchronous execution.
    +   List<Item> categoryList(@Path("cat") String a, @Query("page") int b);
    + }
    + 
    +

    + Calling create(Class) with MyApi.class will validate and create a new + implementation of the API.

    +
    +
    Author:
    +
    Bob Lee (bob@squareup.com), Jake Wharton (jw@squareup.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setLogLevel

        +
        public void setLogLevel(RestAdapter.LogLevel loglevel)
        +
        Change the level of logging.
        +
      • +
      + + + + + + + +
        +
      • +

        create

        +
        public <T> T create(Class<T> service)
        +
        Create an implementation of the API defined by the specified service interface.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RetrofitError.Kind.html b/website/1.x/retrofit/retrofit/RetrofitError.Kind.html new file mode 100644 index 0000000000..239a2715f0 --- /dev/null +++ b/website/1.x/retrofit/retrofit/RetrofitError.Kind.html @@ -0,0 +1,385 @@ + + + + + + +RetrofitError.Kind (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Enum RetrofitError.Kind

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        CONVERSION

        +
        public static final RetrofitError.Kind CONVERSION
        +
        An exception was thrown while (de)serializing a body.
        +
      • +
      + + + +
        +
      • +

        HTTP

        +
        public static final RetrofitError.Kind HTTP
        +
        A non-200 HTTP status code was received from the server.
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED

        +
        public static final RetrofitError.Kind UNEXPECTED
        +
        An internal error occurred while attempting to execute a request. It is best practice to + re-throw this exception so your application crashes.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static RetrofitError.Kind[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (RetrofitError.Kind c : RetrofitError.Kind.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static RetrofitError.Kind valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/RetrofitError.html b/website/1.x/retrofit/retrofit/RetrofitError.html new file mode 100644 index 0000000000..21743f0011 --- /dev/null +++ b/website/1.x/retrofit/retrofit/RetrofitError.html @@ -0,0 +1,477 @@ + + + + + + +RetrofitError (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit
+

Class RetrofitError

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        getUrl

        +
        public String getUrl()
        +
        The request URL which produced the error.
        +
      • +
      + + + +
        +
      • +

        getResponse

        +
        public Response getResponse()
        +
        Response object containing status code, headers, body, etc.
        +
      • +
      + + + + + + + +
        +
      • +

        getKind

        +
        public RetrofitError.Kind getKind()
        +
        The event kind which triggered this error.
        +
      • +
      + + + +
        +
      • +

        getBody

        +
        public Object getBody()
        +
        HTTP response body converted to the type declared by either the interface method return type + or the generic type of the supplied Callback parameter. null if there is no + response.
        +
        +
        Throws:
        +
        RuntimeException - if unable to convert the body to the success + type.
        +
        +
      • +
      + + + +
        +
      • +

        getSuccessType

        +
        public Type getSuccessType()
        +
        The type declared by either the interface method return type or the generic type of the + supplied Callback parameter.
        +
      • +
      + + + +
        +
      • +

        getBodyAs

        +
        public Object getBodyAs(Type type)
        +
        HTTP response body converted to specified type. null if there is no response.
        +
        +
        Throws:
        +
        RuntimeException - if unable to convert the body to the specified type.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/AndroidApacheClient.html b/website/1.x/retrofit/retrofit/android/AndroidApacheClient.html new file mode 100644 index 0000000000..8e5d321a40 --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/AndroidApacheClient.html @@ -0,0 +1,275 @@ + + + + + + +AndroidApacheClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.android
+

Class AndroidApacheClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Client
    +
    +
    +
    +
    public final class AndroidApacheClient
    +extends ApacheClient
    +
    Provides a Client which uses the Android-specific version of + HttpClient, AndroidHttpClient. +

    + If you need to provide a customized version of the AndroidHttpClient or a different + HttpClient on Android use ApacheClient directly.

    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AndroidApacheClient

        +
        public AndroidApacheClient()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/AndroidLog.html b/website/1.x/retrofit/retrofit/android/AndroidLog.html new file mode 100644 index 0000000000..329279725e --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/AndroidLog.html @@ -0,0 +1,332 @@ + + + + + + +AndroidLog (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.android
+

Class AndroidLog

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AndroidLog

        +
        public AndroidLog(String tag)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        log

        +
        public final void log(String message)
        +
        Description copied from interface: RestAdapter.Log
        +
        Log a debug message to the appropriate console.
        +
        +
        Specified by:
        +
        log in interface RestAdapter.Log
        +
        +
      • +
      + + + +
        +
      • +

        logChunk

        +
        public void logChunk(String chunk)
        +
        Called one or more times for each call to log(String). The length of chunk + will be no more than 4000 characters to support Android's Log class.
        +
      • +
      + + + +
        +
      • +

        getTag

        +
        public String getTag()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/MainThreadExecutor.html b/website/1.x/retrofit/retrofit/android/MainThreadExecutor.html new file mode 100644 index 0000000000..2f2a55eaa2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/MainThreadExecutor.html @@ -0,0 +1,283 @@ + + + + + + +MainThreadExecutor (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.android
+

Class MainThreadExecutor

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Executor
    +
    +
    +
    +
    public final class MainThreadExecutor
    +extends Object
    +implements Executor
    +
    Executor that runs tasks on Android's main thread.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MainThreadExecutor

        +
        public MainThreadExecutor()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/class-use/AndroidApacheClient.html b/website/1.x/retrofit/retrofit/android/class-use/AndroidApacheClient.html new file mode 100644 index 0000000000..afa3064f30 --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/class-use/AndroidApacheClient.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.android.AndroidApacheClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.android.AndroidApacheClient

+
+
No usage of retrofit.android.AndroidApacheClient
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/class-use/AndroidLog.html b/website/1.x/retrofit/retrofit/android/class-use/AndroidLog.html new file mode 100644 index 0000000000..2770626a6f --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/class-use/AndroidLog.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.android.AndroidLog (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.android.AndroidLog

+
+
No usage of retrofit.android.AndroidLog
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/class-use/MainThreadExecutor.html b/website/1.x/retrofit/retrofit/android/class-use/MainThreadExecutor.html new file mode 100644 index 0000000000..e4604a958d --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/class-use/MainThreadExecutor.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.android.MainThreadExecutor (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.android.MainThreadExecutor

+
+
No usage of retrofit.android.MainThreadExecutor
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/package-frame.html b/website/1.x/retrofit/retrofit/android/package-frame.html new file mode 100644 index 0000000000..3b42c2808e --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +retrofit.android (Retrofit 1.9.0 API) + + + + + +

retrofit.android

+
+

Classes

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/android/package-summary.html b/website/1.x/retrofit/retrofit/android/package-summary.html new file mode 100644 index 0000000000..e666764da0 --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +retrofit.android (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.android

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/package-tree.html b/website/1.x/retrofit/retrofit/android/package-tree.html new file mode 100644 index 0000000000..7ef23861ea --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/package-tree.html @@ -0,0 +1,145 @@ + + + + + + +retrofit.android Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.android

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/android/package-use.html b/website/1.x/retrofit/retrofit/android/package-use.html new file mode 100644 index 0000000000..d07bc1c3b9 --- /dev/null +++ b/website/1.x/retrofit/retrofit/android/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package retrofit.android (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.android

+
+
No usage of retrofit.android
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/appengine/UrlFetchClient.html b/website/1.x/retrofit/retrofit/appengine/UrlFetchClient.html new file mode 100644 index 0000000000..5390c2065d --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/UrlFetchClient.html @@ -0,0 +1,346 @@ + + + + + + +UrlFetchClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.appengine
+

Class UrlFetchClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Client
    +
    +
    +
    +
    public class UrlFetchClient
    +extends Object
    +implements Client
    +
    A Client for Google AppEngine's which uses its URLFetchService.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UrlFetchClient

        +
        public UrlFetchClient()
        +
      • +
      + + + +
        +
      • +

        UrlFetchClient

        +
        public UrlFetchClient(com.google.appengine.api.urlfetch.URLFetchService urlFetchService)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public Response execute(Request request)
        +                 throws IOException
        +
        Description copied from interface: Client
        +
        Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance. +

        + Note: If the request has a body, its length and mime type will have already been added to the + header list as Content-Length and Content-Type, respectively. Do NOT alter + these values as they might have been set as a result of an application-level configuration.

        +
        +
        Specified by:
        +
        execute in interface Client
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        execute

        +
        protected com.google.appengine.api.urlfetch.HTTPResponse execute(com.google.appengine.api.urlfetch.URLFetchService urlFetchService,
        +                                                                 com.google.appengine.api.urlfetch.HTTPRequest request)
        +                                                          throws IOException
        +
        Execute the specified request using the provided urlFetchService.
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/appengine/class-use/UrlFetchClient.html b/website/1.x/retrofit/retrofit/appengine/class-use/UrlFetchClient.html new file mode 100644 index 0000000000..c2465dd741 --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/class-use/UrlFetchClient.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.appengine.UrlFetchClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.appengine.UrlFetchClient

+
+
No usage of retrofit.appengine.UrlFetchClient
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/appengine/package-frame.html b/website/1.x/retrofit/retrofit/appengine/package-frame.html new file mode 100644 index 0000000000..2faded6861 --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +retrofit.appengine (Retrofit 1.9.0 API) + + + + + +

retrofit.appengine

+
+

Classes

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/appengine/package-summary.html b/website/1.x/retrofit/retrofit/appengine/package-summary.html new file mode 100644 index 0000000000..ed254a4e33 --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/package-summary.html @@ -0,0 +1,146 @@ + + + + + + +retrofit.appengine (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.appengine

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/appengine/package-tree.html b/website/1.x/retrofit/retrofit/appengine/package-tree.html new file mode 100644 index 0000000000..e1dbefcc41 --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +retrofit.appengine Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.appengine

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/appengine/package-use.html b/website/1.x/retrofit/retrofit/appengine/package-use.html new file mode 100644 index 0000000000..785e70aea2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/appengine/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package retrofit.appengine (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.appengine

+
+
No usage of retrofit.appengine
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/Callback.html b/website/1.x/retrofit/retrofit/class-use/Callback.html new file mode 100644 index 0000000000..64ce07a24f --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/Callback.html @@ -0,0 +1,171 @@ + + + + + + +Uses of Interface retrofit.Callback (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.Callback

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/Endpoint.html b/website/1.x/retrofit/retrofit/class-use/Endpoint.html new file mode 100644 index 0000000000..04f4dfa601 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/Endpoint.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Interface retrofit.Endpoint (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.Endpoint

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/Endpoints.html b/website/1.x/retrofit/retrofit/class-use/Endpoints.html new file mode 100644 index 0000000000..fd9de184a9 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/Endpoints.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.Endpoints (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.Endpoints

+
+
No usage of retrofit.Endpoints
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/ErrorHandler.html b/website/1.x/retrofit/retrofit/class-use/ErrorHandler.html new file mode 100644 index 0000000000..b7fc60ab28 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/ErrorHandler.html @@ -0,0 +1,186 @@ + + + + + + +Uses of Interface retrofit.ErrorHandler (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.ErrorHandler

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/Profiler.RequestInformation.html b/website/1.x/retrofit/retrofit/class-use/Profiler.RequestInformation.html new file mode 100644 index 0000000000..d5b6ec78d5 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/Profiler.RequestInformation.html @@ -0,0 +1,173 @@ + + + + + + +Uses of Class retrofit.Profiler.RequestInformation (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.Profiler.RequestInformation

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/Profiler.html b/website/1.x/retrofit/retrofit/class-use/Profiler.html new file mode 100644 index 0000000000..962feb1392 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/Profiler.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Interface retrofit.Profiler (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.Profiler

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.RequestFacade.html b/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.RequestFacade.html new file mode 100644 index 0000000000..8aafd855fd --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.RequestFacade.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Interface retrofit.RequestInterceptor.RequestFacade (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.RequestInterceptor.RequestFacade

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.html b/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.html new file mode 100644 index 0000000000..58d9cceaa0 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RequestInterceptor.html @@ -0,0 +1,185 @@ + + + + + + +Uses of Interface retrofit.RequestInterceptor (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.RequestInterceptor

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/ResponseCallback.html b/website/1.x/retrofit/retrofit/class-use/ResponseCallback.html new file mode 100644 index 0000000000..15c00ae208 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/ResponseCallback.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.ResponseCallback (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.ResponseCallback

+
+
No usage of retrofit.ResponseCallback
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RestAdapter.Builder.html b/website/1.x/retrofit/retrofit/class-use/RestAdapter.Builder.html new file mode 100644 index 0000000000..92b309e820 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RestAdapter.Builder.html @@ -0,0 +1,232 @@ + + + + + + +Uses of Class retrofit.RestAdapter.Builder (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.RestAdapter.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RestAdapter.Log.html b/website/1.x/retrofit/retrofit/class-use/RestAdapter.Log.html new file mode 100644 index 0000000000..41a11fd291 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RestAdapter.Log.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface retrofit.RestAdapter.Log (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.RestAdapter.Log

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RestAdapter.LogLevel.html b/website/1.x/retrofit/retrofit/class-use/RestAdapter.LogLevel.html new file mode 100644 index 0000000000..a4fc92d82a --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RestAdapter.LogLevel.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class retrofit.RestAdapter.LogLevel (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.RestAdapter.LogLevel

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RestAdapter.html b/website/1.x/retrofit/retrofit/class-use/RestAdapter.html new file mode 100644 index 0000000000..5e8cb75523 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RestAdapter.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Class retrofit.RestAdapter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.RestAdapter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RetrofitError.Kind.html b/website/1.x/retrofit/retrofit/class-use/RetrofitError.Kind.html new file mode 100644 index 0000000000..123d8d56b9 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RetrofitError.Kind.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class retrofit.RetrofitError.Kind (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.RetrofitError.Kind

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/class-use/RetrofitError.html b/website/1.x/retrofit/retrofit/class-use/RetrofitError.html new file mode 100644 index 0000000000..e879c9d099 --- /dev/null +++ b/website/1.x/retrofit/retrofit/class-use/RetrofitError.html @@ -0,0 +1,211 @@ + + + + + + +Uses of Class retrofit.RetrofitError (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.RetrofitError

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/ApacheClient.html b/website/1.x/retrofit/retrofit/client/ApacheClient.html new file mode 100644 index 0000000000..004f2eb8c5 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/ApacheClient.html @@ -0,0 +1,353 @@ + + + + + + +ApacheClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class ApacheClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Client
    +
    +
    +
    Direct Known Subclasses:
    +
    AndroidApacheClient
    +
    +
    +
    +
    public class ApacheClient
    +extends Object
    +implements Client
    +
    A Client which uses an implementation of Apache's HttpClient.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ApacheClient

        +
        public ApacheClient()
        +
        Creates an instance backed by DefaultHttpClient.
        +
      • +
      + + + +
        +
      • +

        ApacheClient

        +
        public ApacheClient(org.apache.http.client.HttpClient client)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public Response execute(Request request)
        +                 throws IOException
        +
        Description copied from interface: Client
        +
        Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance. +

        + Note: If the request has a body, its length and mime type will have already been added to the + header list as Content-Length and Content-Type, respectively. Do NOT alter + these values as they might have been set as a result of an application-level configuration.

        +
        +
        Specified by:
        +
        execute in interface Client
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + +
        +
      • +

        execute

        +
        protected org.apache.http.HttpResponse execute(org.apache.http.client.HttpClient client,
        +                                               org.apache.http.client.methods.HttpUriRequest request)
        +                                        throws IOException
        +
        Execute the specified request using the provided client.
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/Client.Provider.html b/website/1.x/retrofit/retrofit/client/Client.Provider.html new file mode 100644 index 0000000000..53922f2c3c --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/Client.Provider.html @@ -0,0 +1,232 @@ + + + + + + +Client.Provider (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Interface Client.Provider

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    Client
    +
    +
    +
    +
    public static interface Client.Provider
    +
    Deferred means of obtaining a Client. For asynchronous requests this will always be + called on a background thread.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        Client get()
        +
        Obtain an HTTP client. Called once for each request.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/Client.html b/website/1.x/retrofit/retrofit/client/Client.html new file mode 100644 index 0000000000..104336a518 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/Client.html @@ -0,0 +1,264 @@ + + + + + + +Client (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Interface Client

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface Client.Provider +
      Deferred means of obtaining a Client.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        Response execute(Request request)
        +          throws IOException
        +
        Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance. +

        + Note: If the request has a body, its length and mime type will have already been added to the + header list as Content-Length and Content-Type, respectively. Do NOT alter + these values as they might have been set as a result of an application-level configuration.

        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/Header.html b/website/1.x/retrofit/retrofit/client/Header.html new file mode 100644 index 0000000000..5f2478cfc6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/Header.html @@ -0,0 +1,340 @@ + + + + + + +Header (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class Header

+
+
+ +
+
    +
  • +
    +
    +
    public final class Header
    +extends Object
    +
    Represents an HTTP header name/value pair.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/OkClient.html b/website/1.x/retrofit/retrofit/client/OkClient.html new file mode 100644 index 0000000000..d6c45cc7a6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/OkClient.html @@ -0,0 +1,323 @@ + + + + + + +OkClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class OkClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Client
    +
    +
    +
    +
    public class OkClient
    +extends Object
    +implements Client
    +
    Retrofit client that uses OkHttp for communication.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OkClient

        +
        public OkClient()
        +
      • +
      + + + +
        +
      • +

        OkClient

        +
        public OkClient(com.squareup.okhttp.OkHttpClient client)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public Response execute(Request request)
        +                 throws IOException
        +
        Description copied from interface: Client
        +
        Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance. +

        + Note: If the request has a body, its length and mime type will have already been added to the + header list as Content-Length and Content-Type, respectively. Do NOT alter + these values as they might have been set as a result of an application-level configuration.

        +
        +
        Specified by:
        +
        execute in interface Client
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/Request.html b/website/1.x/retrofit/retrofit/client/Request.html new file mode 100644 index 0000000000..5fd53e33bf --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/Request.html @@ -0,0 +1,331 @@ + + + + + + +Request (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class Request

+
+
+ +
+
    +
  • +
    +
    +
    public final class Request
    +extends Object
    +
    Encapsulates all of the information necessary to make an HTTP request.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMethod

        +
        public String getMethod()
        +
        HTTP method verb.
        +
      • +
      + + + +
        +
      • +

        getUrl

        +
        public String getUrl()
        +
        Target URL.
        +
      • +
      + + + +
        +
      • +

        getHeaders

        +
        public List<Header> getHeaders()
        +
        Returns an unmodifiable list of headers, never null.
        +
      • +
      + + + +
        +
      • +

        getBody

        +
        public TypedOutput getBody()
        +
        Returns the request body or null.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/Response.html b/website/1.x/retrofit/retrofit/client/Response.html new file mode 100644 index 0000000000..55561caaa6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/Response.html @@ -0,0 +1,353 @@ + + + + + + +Response (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class Response

+
+
+ +
+
    +
  • +
    +
    +
    public final class Response
    +extends Object
    +
    An HTTP response. +

    + When used directly as a data type for an interface method, the response body is buffered to a + byte[]. Annotate the method with @Streaming for an + unbuffered stream from the network.

    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getUrl

        +
        public String getUrl()
        +
        Request URL.
        +
      • +
      + + + +
        +
      • +

        getStatus

        +
        public int getStatus()
        +
        Status line code.
        +
      • +
      + + + +
        +
      • +

        getReason

        +
        public String getReason()
        +
        Status line reason phrase.
        +
      • +
      + + + +
        +
      • +

        getHeaders

        +
        public List<Header> getHeaders()
        +
        An unmodifiable collection of headers.
        +
      • +
      + + + +
        +
      • +

        getBody

        +
        public TypedInput getBody()
        +
        Response body. May be null.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/UrlConnectionClient.html b/website/1.x/retrofit/retrofit/client/UrlConnectionClient.html new file mode 100644 index 0000000000..137b5fa60f --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/UrlConnectionClient.html @@ -0,0 +1,329 @@ + + + + + + +UrlConnectionClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.client
+

Class UrlConnectionClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Client
    +
    +
    +
    +
    public class UrlConnectionClient
    +extends Object
    +implements Client
    +
    Retrofit client that uses HttpURLConnection for communication.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UrlConnectionClient

        +
        public UrlConnectionClient()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public Response execute(Request request)
        +                 throws IOException
        +
        Description copied from interface: Client
        +
        Synchronously execute an HTTP represented by request and encapsulate all response data + into a Response instance. +

        + Note: If the request has a body, its length and mime type will have already been added to the + header list as Content-Length and Content-Type, respectively. Do NOT alter + these values as they might have been set as a result of an application-level configuration.

        +
        +
        Specified by:
        +
        execute in interface Client
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/ApacheClient.html b/website/1.x/retrofit/retrofit/client/class-use/ApacheClient.html new file mode 100644 index 0000000000..b7205966ab --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/ApacheClient.html @@ -0,0 +1,169 @@ + + + + + + +Uses of Class retrofit.client.ApacheClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.ApacheClient

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/Client.Provider.html b/website/1.x/retrofit/retrofit/client/class-use/Client.Provider.html new file mode 100644 index 0000000000..17f569d130 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/Client.Provider.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Interface retrofit.client.Client.Provider (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.client.Client.Provider

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/Client.html b/website/1.x/retrofit/retrofit/client/class-use/Client.html new file mode 100644 index 0000000000..69cb980520 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/Client.html @@ -0,0 +1,270 @@ + + + + + + +Uses of Interface retrofit.client.Client (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.client.Client

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/Header.html b/website/1.x/retrofit/retrofit/client/class-use/Header.html new file mode 100644 index 0000000000..d1d48ef6b9 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/Header.html @@ -0,0 +1,195 @@ + + + + + + +Uses of Class retrofit.client.Header (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.Header

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/OkClient.html b/website/1.x/retrofit/retrofit/client/class-use/OkClient.html new file mode 100644 index 0000000000..cfa85be9c7 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/OkClient.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.client.OkClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.OkClient

+
+
No usage of retrofit.client.OkClient
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/Request.html b/website/1.x/retrofit/retrofit/client/class-use/Request.html new file mode 100644 index 0000000000..3a67a0ddfa --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/Request.html @@ -0,0 +1,207 @@ + + + + + + +Uses of Class retrofit.client.Request (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.Request

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/Response.html b/website/1.x/retrofit/retrofit/client/class-use/Response.html new file mode 100644 index 0000000000..aef75e0e16 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/Response.html @@ -0,0 +1,271 @@ + + + + + + +Uses of Class retrofit.client.Response (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.Response

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/class-use/UrlConnectionClient.html b/website/1.x/retrofit/retrofit/client/class-use/UrlConnectionClient.html new file mode 100644 index 0000000000..f96fa44989 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/class-use/UrlConnectionClient.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.client.UrlConnectionClient (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.client.UrlConnectionClient

+
+
No usage of retrofit.client.UrlConnectionClient
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/package-frame.html b/website/1.x/retrofit/retrofit/client/package-frame.html new file mode 100644 index 0000000000..1f4ed2f89d --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/package-frame.html @@ -0,0 +1,31 @@ + + + + + + +retrofit.client (Retrofit 1.9.0 API) + + + + + +

retrofit.client

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/client/package-summary.html b/website/1.x/retrofit/retrofit/client/package-summary.html new file mode 100644 index 0000000000..d7f231cca2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/package-summary.html @@ -0,0 +1,199 @@ + + + + + + +retrofit.client (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.client

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/package-tree.html b/website/1.x/retrofit/retrofit/client/package-tree.html new file mode 100644 index 0000000000..4322eb2c76 --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +retrofit.client Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.client

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/client/package-use.html b/website/1.x/retrofit/retrofit/client/package-use.html new file mode 100644 index 0000000000..7f3a667e4b --- /dev/null +++ b/website/1.x/retrofit/retrofit/client/package-use.html @@ -0,0 +1,266 @@ + + + + + + +Uses of Package retrofit.client (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.client

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/ConversionException.html b/website/1.x/retrofit/retrofit/converter/ConversionException.html new file mode 100644 index 0000000000..3edc435851 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/ConversionException.html @@ -0,0 +1,291 @@ + + + + + + +ConversionException (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class ConversionException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class ConversionException
    +extends Exception
    +
    Indicate that conversion was unable to complete successfully.
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConversionException

        +
        public ConversionException(String message)
        +
      • +
      + + + +
        +
      • +

        ConversionException

        +
        public ConversionException(String message,
        +                           Throwable throwable)
        +
      • +
      + + + +
        +
      • +

        ConversionException

        +
        public ConversionException(Throwable throwable)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/Converter.html b/website/1.x/retrofit/retrofit/converter/Converter.html new file mode 100644 index 0000000000..cbab479999 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/Converter.html @@ -0,0 +1,272 @@ + + + + + + +Converter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Interface Converter

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    GsonConverter
    +
    +
    +
    +
    public interface Converter
    +
    Arbiter for converting objects to and from their representation in HTTP.
    +
    +
    Author:
    +
    Jake Wharton (jw@squareup.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromBody

        +
        Object fromBody(TypedInput body,
        +                Type type)
        +         throws ConversionException
        +
        Convert an HTTP response body to a concrete object of the specified type.
        +
        +
        Parameters:
        +
        body - HTTP response body.
        +
        type - Target object type.
        +
        Returns:
        +
        Instance of type which will be cast by the caller.
        +
        Throws:
        +
        ConversionException - if conversion was unable to complete. This will trigger a call to + Callback.failure(retrofit.RetrofitError) or throw a + RetrofitError. The exception message should report all necessary information + about its cause as the response body will be set to null.
        +
        +
      • +
      + + + +
        +
      • +

        toBody

        +
        TypedOutput toBody(Object object)
        +
        Convert an object to an appropriate representation for HTTP transport.
        +
        +
        Parameters:
        +
        object - Object instance to convert.
        +
        Returns:
        +
        Representation of the specified object as bytes.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/GsonConverter.html b/website/1.x/retrofit/retrofit/converter/GsonConverter.html new file mode 100644 index 0000000000..971b2d3f1f --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/GsonConverter.html @@ -0,0 +1,351 @@ + + + + + + +GsonConverter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.converter
+

Class GsonConverter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Converter
    +
    +
    +
    +
    public class GsonConverter
    +extends Object
    +implements Converter
    +
    A Converter which uses GSON for serialization and deserialization of entities.
    +
    +
    Author:
    +
    Jake Wharton (jw@squareup.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GsonConverter

        +
        public GsonConverter(com.google.gson.Gson gson)
        +
        Create an instance using the supplied Gson object for conversion. Encoding to JSON and + decoding from JSON (when no charset is specified by a header) will use UTF-8.
        +
      • +
      + + + +
        +
      • +

        GsonConverter

        +
        public GsonConverter(com.google.gson.Gson gson,
        +                     String charset)
        +
        Create an instance using the supplied Gson object for conversion. Encoding to JSON and + decoding from JSON (when no charset is specified by a header) will use the specified charset.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromBody

        +
        public Object fromBody(TypedInput body,
        +                       Type type)
        +                throws ConversionException
        +
        Description copied from interface: Converter
        +
        Convert an HTTP response body to a concrete object of the specified type.
        +
        +
        Specified by:
        +
        fromBody in interface Converter
        +
        Parameters:
        +
        body - HTTP response body.
        +
        type - Target object type.
        +
        Returns:
        +
        Instance of type which will be cast by the caller.
        +
        Throws:
        +
        ConversionException - if conversion was unable to complete. This will trigger a call to + Callback.failure(retrofit.RetrofitError) or throw a + RetrofitError. The exception message should report all necessary information + about its cause as the response body will be set to null.
        +
        +
      • +
      + + + +
        +
      • +

        toBody

        +
        public TypedOutput toBody(Object object)
        +
        Description copied from interface: Converter
        +
        Convert an object to an appropriate representation for HTTP transport.
        +
        +
        Specified by:
        +
        toBody in interface Converter
        +
        Parameters:
        +
        object - Object instance to convert.
        +
        Returns:
        +
        Representation of the specified object as bytes.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/class-use/ConversionException.html b/website/1.x/retrofit/retrofit/converter/class-use/ConversionException.html new file mode 100644 index 0000000000..b84b64e774 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/class-use/ConversionException.html @@ -0,0 +1,202 @@ + + + + + + +Uses of Class retrofit.converter.ConversionException (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.ConversionException

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/class-use/Converter.html b/website/1.x/retrofit/retrofit/converter/class-use/Converter.html new file mode 100644 index 0000000000..cdd64733e1 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/class-use/Converter.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface retrofit.converter.Converter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.converter.Converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/class-use/GsonConverter.html b/website/1.x/retrofit/retrofit/converter/class-use/GsonConverter.html new file mode 100644 index 0000000000..b7c1762a29 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/class-use/GsonConverter.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.converter.GsonConverter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.converter.GsonConverter

+
+
No usage of retrofit.converter.GsonConverter
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/package-frame.html b/website/1.x/retrofit/retrofit/converter/package-frame.html new file mode 100644 index 0000000000..dca4e62942 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +retrofit.converter (Retrofit 1.9.0 API) + + + + + +

retrofit.converter

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/converter/package-summary.html b/website/1.x/retrofit/retrofit/converter/package-summary.html new file mode 100644 index 0000000000..400f921916 --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/package-summary.html @@ -0,0 +1,180 @@ + + + + + + +retrofit.converter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/package-tree.html b/website/1.x/retrofit/retrofit/converter/package-tree.html new file mode 100644 index 0000000000..74fb9f603b --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +retrofit.converter Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.converter

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/converter/package-use.html b/website/1.x/retrofit/retrofit/converter/package-use.html new file mode 100644 index 0000000000..5067c8846e --- /dev/null +++ b/website/1.x/retrofit/retrofit/converter/package-use.html @@ -0,0 +1,194 @@ + + + + + + +Uses of Package retrofit.converter (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.converter

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Body.html b/website/1.x/retrofit/retrofit/http/Body.html new file mode 100644 index 0000000000..bd34b500b3 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Body.html @@ -0,0 +1,182 @@ + + + + + + +Body (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Body

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface Body
    +
    Use this annotation on a service method param when you want to directly control the request body + of a POST/PUT request (instead of sending in as request parameters or form-style request + body). If the value of the parameter implements TypedOutput, + the request body will be written exactly as specified by + TypedOutput.writeTo(java.io.OutputStream). If the value does not implement + TypedOutput, the object will be serialized using the RestAdapter's + Converter and the result will be set directly as the + request body. +

    + Body parameters may not be null.

    +
    +
    Author:
    +
    Eric Denman (edenman@squareup.com)
    +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/DELETE.html b/website/1.x/retrofit/retrofit/http/DELETE.html new file mode 100644 index 0000000000..f520607a63 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/DELETE.html @@ -0,0 +1,218 @@ + + + + + + +DELETE (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type DELETE

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/EncodedPath.html b/website/1.x/retrofit/retrofit/http/EncodedPath.html new file mode 100644 index 0000000000..61f26297fe --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/EncodedPath.html @@ -0,0 +1,237 @@ + + + + + + +EncodedPath (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type EncodedPath

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue +
      Deprecated. 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
        Deprecated. 
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/EncodedQuery.html b/website/1.x/retrofit/retrofit/http/EncodedQuery.html new file mode 100644 index 0000000000..cb9247f749 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/EncodedQuery.html @@ -0,0 +1,233 @@ + + + + + + +EncodedQuery (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type EncodedQuery

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue +
      Deprecated. 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
        Deprecated. 
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/EncodedQueryMap.html b/website/1.x/retrofit/retrofit/http/EncodedQueryMap.html new file mode 100644 index 0000000000..d259717e6e --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/EncodedQueryMap.html @@ -0,0 +1,182 @@ + + + + + + +EncodedQueryMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type EncodedQueryMap

+
+
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Field.html b/website/1.x/retrofit/retrofit/http/Field.html new file mode 100644 index 0000000000..87c0d6775d --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Field.html @@ -0,0 +1,307 @@ + + + + + + +Field (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Field

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface Field
    +
    Named pair for a form-encoded request. +

    + Values are converted to strings using String.valueOf(Object) and then form URL encoded. + null values are ignored. Passing a List or array will result in a + field pair for each non-null item. +

    + Simple Example: +

    + @FormUrlEncoded
    + @POST("/")
    + void example(@Field("name") String name, @Field("occupation") String occupation);
    + }
    + 
    + Calling with foo.example("Bob Smith", "President") yields a request body of + name=Bob+Smith&occupation=President. +

    + Array Example: +

    + @FormUrlEncoded
    + @POST("/list")
    + void example(@Field("name") String... names);
    + 
    + Calling with foo.example("Bob Smith", "Jane Doe") yields a request body of + name=Bob+Smith&name=Jane+Doe.
    +
    +
    See Also:
    +
    FormUrlEncoded, +FieldMap
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanencodeName +
      Specifies whether value() is URL encoded.
      +
      booleanencodeValue +
      Specifies whether the argument value to the annotated method parameter is URL encoded.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    + +
      +
    • + + +
        +
      • +

        encodeName

        +
        public abstract boolean encodeName
        +
        Specifies whether value() is URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
      +
    • + + +
        +
      • +

        encodeValue

        +
        public abstract boolean encodeValue
        +
        Specifies whether the argument value to the annotated method parameter is URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/FieldMap.html b/website/1.x/retrofit/retrofit/http/FieldMap.html new file mode 100644 index 0000000000..cb508f9878 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/FieldMap.html @@ -0,0 +1,264 @@ + + + + + + +FieldMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type FieldMap

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface FieldMap
    +
    Named key/value pairs for a form-encoded request. +

    + Field values may be null which will omit them from the request body. +

    + Simple Example: +

    + @FormUrlEncoded
    + @POST("/things")
    + void things(@FieldMap Map<String, String> fields);
    + }
    + 
    + Calling with foo.things(ImmutableMap.of("foo", "bar", "kit", "kat") yields a request + body of foo=bar&kit=kat.
    +
    +
    See Also:
    +
    FormUrlEncoded, +Field
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanencodeNames +
      Specifies whether parameter names (keys in the map) are URL encoded.
      +
      booleanencodeValues +
      Specifies whether parameter values (values in the map) are URL encoded.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        encodeNames

        +
        public abstract boolean encodeNames
        +
        Specifies whether parameter names (keys in the map) are URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
      +
    • + + +
        +
      • +

        encodeValues

        +
        public abstract boolean encodeValues
        +
        Specifies whether parameter values (values in the map) are URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/FormUrlEncoded.html b/website/1.x/retrofit/retrofit/http/FormUrlEncoded.html new file mode 100644 index 0000000000..cfa7dbe2eb --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/FormUrlEncoded.html @@ -0,0 +1,174 @@ + + + + + + +FormUrlEncoded (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type FormUrlEncoded

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Retention(value=RUNTIME)
    +public @interface FormUrlEncoded
    +
    Denotes that the request body will use form URL encoding. Fields should be declared as + parameters and annotated with @Field. +

    + Requests made with this annotation will have application/x-www-form-urlencoded MIME + type. Field names and values will be UTF-8 encoded before being URI-encoded in accordance to + RFC-3986.

    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/GET.html b/website/1.x/retrofit/retrofit/http/GET.html new file mode 100644 index 0000000000..3375a86d99 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/GET.html @@ -0,0 +1,218 @@ + + + + + + +GET (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type GET

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/HEAD.html b/website/1.x/retrofit/retrofit/http/HEAD.html new file mode 100644 index 0000000000..b6d8c83655 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/HEAD.html @@ -0,0 +1,218 @@ + + + + + + +HEAD (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type HEAD

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Header.html b/website/1.x/retrofit/retrofit/http/Header.html new file mode 100644 index 0000000000..8d0bb024eb --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Header.html @@ -0,0 +1,232 @@ + + + + + + +Header (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Header

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Retention(value=RUNTIME)
    + @Target(value=PARAMETER)
    +public @interface Header
    +
    Replaces the header with the the value of its target. +

    +

    + @GET("/")
    + void foo(@Header("Accept-Language") String lang, Callback<Response> cb);
    + 
    +

    + Header parameters may be null which will omit them from the request. Passing a + List or array will result in a header for each non-null item. +

    + Note: Headers do not overwrite each other. All headers with the same name will + be included in the request.

    +
    +
    Author:
    +
    Adrian Cole (adrianc@netflix.com)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Headers.html b/website/1.x/retrofit/retrofit/http/Headers.html new file mode 100644 index 0000000000..09c9c757ee --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Headers.html @@ -0,0 +1,237 @@ + + + + + + +Headers (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Headers

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=METHOD)
    + @Retention(value=RUNTIME)
    +public @interface Headers
    +
    Adds headers literally supplied in the value. +

    +

    + @Headers("Cache-Control: max-age=640000")
    + @GET("/")
    + ...
    +
    + @Headers({
    +   "X-Foo: Bar",
    +   "X-Ping: Pong"
    + })
    + @GET("/")
    + ...
    + 
    +

    + Note: Headers do not overwrite each other. All headers with the same name will + be included in the request.

    +
    +
    Author:
    +
    Adrian Cole (adrianc@netflix.com)
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      String[]value 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String[] value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Multipart.html b/website/1.x/retrofit/retrofit/http/Multipart.html new file mode 100644 index 0000000000..5edcb6c0e3 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Multipart.html @@ -0,0 +1,170 @@ + + + + + + +Multipart (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Multipart

+
+
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/PATCH.html b/website/1.x/retrofit/retrofit/http/PATCH.html new file mode 100644 index 0000000000..2309c06faa --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/PATCH.html @@ -0,0 +1,219 @@ + + + + + + +PATCH (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type PATCH

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/POST.html b/website/1.x/retrofit/retrofit/http/POST.html new file mode 100644 index 0000000000..2b8de7792d --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/POST.html @@ -0,0 +1,219 @@ + + + + + + +POST (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type POST

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/PUT.html b/website/1.x/retrofit/retrofit/http/PUT.html new file mode 100644 index 0000000000..c8665505fb --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/PUT.html @@ -0,0 +1,219 @@ + + + + + + +PUT (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type PUT

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Part.html b/website/1.x/retrofit/retrofit/http/Part.html new file mode 100644 index 0000000000..15b420bec6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Part.html @@ -0,0 +1,278 @@ + + + + + + +Part (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Part

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface Part
    +
    Denotes a single part of a multi-part request. +

    + The parameter type on which this annotation exists will be processed in one of three ways: +

      +
    • If the type implements TypedOutput the headers and + body will be used directly.
    • +
    • If the type is String the value will also be used directly with a text/plain + content type.
    • +
    • Other object types will be converted to an appropriate representation by calling Converter.toBody(Object).
    • +
    +

    + Values may be null which will omit them from the request body. +

    +

    + @Multipart
    + @POST("/")
    + void example(@Part("description") String description,
    +              @Part("image") TypedFile image,
    +              ...
    + );
    + 
    +

    + Part parameters may not be null.

    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      Stringencoding +
      The Content-Transfer-Encoding of this part.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    + +
      +
    • + + +
        +
      • +

        encoding

        +
        public abstract String encoding
        +
        The Content-Transfer-Encoding of this part.
        +
        +
        Default:
        +
        "binary"
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/PartMap.html b/website/1.x/retrofit/retrofit/http/PartMap.html new file mode 100644 index 0000000000..27ad4b7dcd --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/PartMap.html @@ -0,0 +1,245 @@ + + + + + + +PartMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type PartMap

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface PartMap
    +
    Denotes name and value parts of a multi-part request +

    + Values of the map on which this annotation exists will be processed in one of three ways: +

      +
    • If the type implements TypedOutput the headers and + body will be used directly.
    • +
    • If the type is String the value will also be used directly with a text/plain + content type.
    • +
    • Other object types will be converted to an appropriate representation by calling Converter.toBody(Object).
    • +
    +

    +

    + @Multipart
    + @POST("/upload")
    + void upload(@Part("file") TypedFile file, @PartMap Map<String, String> params);
    + 
    +

    +
    +
    See Also:
    +
    Multipart, +Part
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      Stringencoding +
      The Content-Transfer-Encoding of this part.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        encoding

        +
        public abstract String encoding
        +
        The Content-Transfer-Encoding of this part.
        +
        +
        Default:
        +
        "binary"
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Path.html b/website/1.x/retrofit/retrofit/http/Path.html new file mode 100644 index 0000000000..2340e63d5d --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Path.html @@ -0,0 +1,277 @@ + + + + + + +Path (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Path

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Retention(value=RUNTIME)
    + @Target(value=PARAMETER)
    +public @interface Path
    +
    Named replacement in the URL path. Values are converted to string using + String.valueOf(Object) and URL encoded. +

    + Simple example: +

    + @GET("/image/{id}")
    + void example(@Path("id") int id);
    + 
    + Calling with foo.example(1) yields /image/1. +

    + Values are URL encoded by default. Disable with encode=false. +

    + @GET("/user/{name}")
    + void encoded(@Path("name") String name);
    +
    + @GET("/user/{name}")
    + void notEncoded(@Path(value="name", encode=false) String name);
    + 
    + Calling foo.encoded("John+Doe") yields /user/John%2BDoe whereas + foo.notEncoded("John+Doe") yields /user/John+Doe. +

    + Path parameters may not be null.

    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanencode +
      Specifies whether the argument value to the annotated method parameter is URL encoded.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    + +
      +
    • + + +
        +
      • +

        encode

        +
        public abstract boolean encode
        +
        Specifies whether the argument value to the annotated method parameter is URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Query.html b/website/1.x/retrofit/retrofit/http/Query.html new file mode 100644 index 0000000000..6507ac2592 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Query.html @@ -0,0 +1,328 @@ + + + + + + +Query (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Query

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface Query
    +
    Query parameter appended to the URL. +

    + Values are converted to strings using String.valueOf(Object) and then URL encoded. + null values are ignored. Passing a List or array will result in a + query parameter for each non-null item. +

    + Simple Example: +

    + @GET("/list")
    + void list(@Query("page") int page);
    + 
    + Calling with foo.list(1) yields /list?page=1. +

    + Example with null: +

    + @GET("/list")
    + void list(@Query("category") String category);
    + 
    + Calling with foo.list(null) yields /list. +

    + Array Example: +

    + @GET("/list")
    + void list(@Query("category") String... categories);
    + 
    + Calling with foo.list("bar", "baz") yields + /list?category=foo&category=bar. +

    + Parameter names are not URL encoded. Specify encodeName=true to change + this behavior. +

    + @GET("/search")
    + void list(@Query(value="foo+bar", encodeName=true) String foobar);
    + 
    + Calling with foo.list("baz") yields /search?foo%2Bbar=foo. +

    + Parameter values are URL encoded by default. Specify encodeValue=false to + change this behavior. +

    + @GET("/search")
    + void list(@Query(value="foo", encodeValue=false) String foo);
    + 
    + Calling with foo.list("foo+foo")) yields /search?foo=foo+bar.
    +
    +
    See Also:
    +
    QueryMap
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue +
      The query parameter name.
      +
      +
    • +
    + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanencodeName +
      Specifies whether value() is URL encoded.
      +
      booleanencodeValue +
      Specifies whether the argument value to the annotated method parameter is URL encoded.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
        The query parameter name.
        +
      • +
      +
    • +
    + +
      +
    • + + +
        +
      • +

        encodeName

        +
        public abstract boolean encodeName
        +
        Specifies whether value() is URL encoded.
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
      +
    • + + +
        +
      • +

        encodeValue

        +
        public abstract boolean encodeValue
        +
        Specifies whether the argument value to the annotated method parameter is URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/QueryMap.html b/website/1.x/retrofit/retrofit/http/QueryMap.html new file mode 100644 index 0000000000..d7b4cf100d --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/QueryMap.html @@ -0,0 +1,281 @@ + + + + + + +QueryMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type QueryMap

+
+
+
+
    +
  • +
    +
    +
    @Documented
    + @Target(value=PARAMETER)
    + @Retention(value=RUNTIME)
    +public @interface QueryMap
    +
    Query parameter keys and values appended to the URL. +

    + Both keys and values are converted to strings using String.valueOf(Object). Values are + URL encoded and null will not include the query parameter in the URL. null keys + are not allowed. +

    + Simple Example: +

    + @GET("/search")
    + void list(@QueryMap Map<String, String> filters);
    + 
    + Calling with foo.list(ImmutableMap.of("foo", "bar", "kit", "kat")) yields + /search?foo=bar&kit=kat. +

    + Map keys representing the parameter names are not URL encoded. Specify + encodeNames=true to change this behavior. +

    + @GET("/search")
    + void list(@QueryMap(encodeNames=true) Map<String, String> filters);
    + 
    + Calling with foo.list(ImmutableMap.of("foo+bar", "foo+bar")) yields + /search?foo%2Bbar=foo. +

    + Map values representing parameter values are URL encoded by default. Specify + encodeValues=false to change this behavior. +

    + @GET("/search")
    + void list(@QueryMap(encodeValues=false) Map<String, String> filters);
    + 
    + Calling with foo.list(ImmutableMap.of("foo", "foo+foo")) yields + /search?foo=foo%2Bbar.
    +
    +
    See Also:
    +
    Query
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanencodeNames +
      Specifies whether parameter names (keys in the map) are URL encoded.
      +
      booleanencodeValues +
      Specifies whether parameter values (values in the map) are URL encoded.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        encodeNames

        +
        public abstract boolean encodeNames
        +
        Specifies whether parameter names (keys in the map) are URL encoded.
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
      +
    • + + +
        +
      • +

        encodeValues

        +
        public abstract boolean encodeValues
        +
        Specifies whether parameter values (values in the map) are URL encoded.
        +
        +
        Default:
        +
        true
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/RestMethod.html b/website/1.x/retrofit/retrofit/http/RestMethod.html new file mode 100644 index 0000000000..72f94db187 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/RestMethod.html @@ -0,0 +1,252 @@ + + + + + + +RestMethod (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type RestMethod

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired Element and Description
      Stringvalue 
      +
    • +
    + +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional Element and Description
      booleanhasBody 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        public abstract String value
        +
      • +
      +
    • +
    + +
      +
    • + + +
        +
      • +

        hasBody

        +
        public abstract boolean hasBody
        +
        +
        Default:
        +
        false
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/Streaming.html b/website/1.x/retrofit/retrofit/http/Streaming.html new file mode 100644 index 0000000000..1adddf7852 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/Streaming.html @@ -0,0 +1,170 @@ + + + + + + +Streaming (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.http
+

Annotation Type Streaming

+
+
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Body.html b/website/1.x/retrofit/retrofit/http/class-use/Body.html new file mode 100644 index 0000000000..289dfb6d15 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Body.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Body (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Body

+
+
No usage of retrofit.http.Body
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/DELETE.html b/website/1.x/retrofit/retrofit/http/class-use/DELETE.html new file mode 100644 index 0000000000..c43bf21ab5 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/DELETE.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.DELETE (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.DELETE

+
+
No usage of retrofit.http.DELETE
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/EncodedPath.html b/website/1.x/retrofit/retrofit/http/class-use/EncodedPath.html new file mode 100644 index 0000000000..480be2cfab --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/EncodedPath.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.EncodedPath (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.EncodedPath

+
+
No usage of retrofit.http.EncodedPath
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/EncodedQuery.html b/website/1.x/retrofit/retrofit/http/class-use/EncodedQuery.html new file mode 100644 index 0000000000..15901f22fd --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/EncodedQuery.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.EncodedQuery (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.EncodedQuery

+
+
No usage of retrofit.http.EncodedQuery
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/EncodedQueryMap.html b/website/1.x/retrofit/retrofit/http/class-use/EncodedQueryMap.html new file mode 100644 index 0000000000..279bf4d58c --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/EncodedQueryMap.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.EncodedQueryMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.EncodedQueryMap

+
+
No usage of retrofit.http.EncodedQueryMap
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Field.html b/website/1.x/retrofit/retrofit/http/class-use/Field.html new file mode 100644 index 0000000000..e75fb845e2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Field.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Field (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Field

+
+
No usage of retrofit.http.Field
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/FieldMap.html b/website/1.x/retrofit/retrofit/http/class-use/FieldMap.html new file mode 100644 index 0000000000..c6aca62a01 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/FieldMap.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.FieldMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.FieldMap

+
+
No usage of retrofit.http.FieldMap
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/FormUrlEncoded.html b/website/1.x/retrofit/retrofit/http/class-use/FormUrlEncoded.html new file mode 100644 index 0000000000..911e77f585 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/FormUrlEncoded.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.FormUrlEncoded (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.FormUrlEncoded

+
+
No usage of retrofit.http.FormUrlEncoded
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/GET.html b/website/1.x/retrofit/retrofit/http/class-use/GET.html new file mode 100644 index 0000000000..92b9197957 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/GET.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.GET (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.GET

+
+
No usage of retrofit.http.GET
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/HEAD.html b/website/1.x/retrofit/retrofit/http/class-use/HEAD.html new file mode 100644 index 0000000000..2c6f90f4e3 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/HEAD.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.HEAD (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.HEAD

+
+
No usage of retrofit.http.HEAD
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Header.html b/website/1.x/retrofit/retrofit/http/class-use/Header.html new file mode 100644 index 0000000000..5c89a61b76 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Header.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Header (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Header

+
+
No usage of retrofit.http.Header
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Headers.html b/website/1.x/retrofit/retrofit/http/class-use/Headers.html new file mode 100644 index 0000000000..998ab3b523 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Headers.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Headers (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Headers

+
+
No usage of retrofit.http.Headers
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Multipart.html b/website/1.x/retrofit/retrofit/http/class-use/Multipart.html new file mode 100644 index 0000000000..65bd3a5846 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Multipart.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Multipart (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Multipart

+
+
No usage of retrofit.http.Multipart
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/PATCH.html b/website/1.x/retrofit/retrofit/http/class-use/PATCH.html new file mode 100644 index 0000000000..8db4260a6c --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/PATCH.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.PATCH (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.PATCH

+
+
No usage of retrofit.http.PATCH
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/POST.html b/website/1.x/retrofit/retrofit/http/class-use/POST.html new file mode 100644 index 0000000000..8fd578e4a3 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/POST.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.POST (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.POST

+
+
No usage of retrofit.http.POST
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/PUT.html b/website/1.x/retrofit/retrofit/http/class-use/PUT.html new file mode 100644 index 0000000000..ffe5ddcbe2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/PUT.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.PUT (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.PUT

+
+
No usage of retrofit.http.PUT
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Part.html b/website/1.x/retrofit/retrofit/http/class-use/Part.html new file mode 100644 index 0000000000..b294f4d9f2 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Part.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Part (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Part

+
+
No usage of retrofit.http.Part
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/PartMap.html b/website/1.x/retrofit/retrofit/http/class-use/PartMap.html new file mode 100644 index 0000000000..32286fb5a6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/PartMap.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.PartMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.PartMap

+
+
No usage of retrofit.http.PartMap
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Path.html b/website/1.x/retrofit/retrofit/http/class-use/Path.html new file mode 100644 index 0000000000..7a1868588b --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Path.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Path (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Path

+
+
No usage of retrofit.http.Path
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Query.html b/website/1.x/retrofit/retrofit/http/class-use/Query.html new file mode 100644 index 0000000000..b158afa4c8 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Query.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Query (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Query

+
+
No usage of retrofit.http.Query
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/QueryMap.html b/website/1.x/retrofit/retrofit/http/class-use/QueryMap.html new file mode 100644 index 0000000000..6b44f66910 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/QueryMap.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.QueryMap (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.QueryMap

+
+
No usage of retrofit.http.QueryMap
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/RestMethod.html b/website/1.x/retrofit/retrofit/http/class-use/RestMethod.html new file mode 100644 index 0000000000..fdb4865d64 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/RestMethod.html @@ -0,0 +1,200 @@ + + + + + + +Uses of Class retrofit.http.RestMethod (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.RestMethod

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/class-use/Streaming.html b/website/1.x/retrofit/retrofit/http/class-use/Streaming.html new file mode 100644 index 0000000000..127ad6b389 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/class-use/Streaming.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.http.Streaming (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.http.Streaming

+
+
No usage of retrofit.http.Streaming
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/package-frame.html b/website/1.x/retrofit/retrofit/http/package-frame.html new file mode 100644 index 0000000000..c8eaf4a29d --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/package-frame.html @@ -0,0 +1,43 @@ + + + + + + +retrofit.http (Retrofit 1.9.0 API) + + + + + +

retrofit.http

+
+

Annotation Types

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/http/package-summary.html b/website/1.x/retrofit/retrofit/http/package-summary.html new file mode 100644 index 0000000000..c20914e3d9 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/package-summary.html @@ -0,0 +1,288 @@ + + + + + + +retrofit.http (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.http

+
+
Annotations for interface methods to control the HTTP request behavior.
+
+

See: Description

+
+
+ + + + +

Package retrofit.http Description

+
Annotations for interface methods to control the HTTP request behavior.
+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/package-tree.html b/website/1.x/retrofit/retrofit/http/package-tree.html new file mode 100644 index 0000000000..281b17d709 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/package-tree.html @@ -0,0 +1,157 @@ + + + + + + +retrofit.http Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.http

+Package Hierarchies: + +
+
+

Annotation Type Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/http/package-use.html b/website/1.x/retrofit/retrofit/http/package-use.html new file mode 100644 index 0000000000..4d299aa641 --- /dev/null +++ b/website/1.x/retrofit/retrofit/http/package-use.html @@ -0,0 +1,161 @@ + + + + + + +Uses of Package retrofit.http (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.http

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/FormUrlEncodedTypedOutput.html b/website/1.x/retrofit/retrofit/mime/FormUrlEncodedTypedOutput.html new file mode 100644 index 0000000000..8c7dfa5ab7 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/FormUrlEncodedTypedOutput.html @@ -0,0 +1,388 @@ + + + + + + +FormUrlEncodedTypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class FormUrlEncodedTypedOutput

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    TypedOutput
    +
    +
    +
    +
    public final class FormUrlEncodedTypedOutput
    +extends Object
    +implements TypedOutput
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FormUrlEncodedTypedOutput

        +
        public FormUrlEncodedTypedOutput()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addField

        +
        public void addField(String name,
        +                     String value)
        +
      • +
      + + + +
        +
      • +

        addField

        +
        public void addField(String name,
        +                     boolean encodeName,
        +                     String value,
        +                     boolean encodeValue)
        +
      • +
      + + + +
        +
      • +

        fileName

        +
        public String fileName()
        +
        Description copied from interface: TypedOutput
        +
        Original filename. + + Used only for multipart requests, may be null.
        +
        +
        Specified by:
        +
        fileName in interface TypedOutput
        +
        +
      • +
      + + + + + + + +
        +
      • +

        length

        +
        public long length()
        +
        Description copied from interface: TypedOutput
        +
        Length in bytes or -1 if unknown.
        +
        +
        Specified by:
        +
        length in interface TypedOutput
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/MimeUtil.html b/website/1.x/retrofit/retrofit/mime/MimeUtil.html new file mode 100644 index 0000000000..f61c413821 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/MimeUtil.html @@ -0,0 +1,264 @@ + + + + + + +MimeUtil (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class MimeUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class MimeUtil
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        parseCharset

        +
        public static String parseCharset(String mimeType,
        +                                  String defaultCharset)
        +
        Parse the MIME type from a Content-Type header value.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/MultipartTypedOutput.html b/website/1.x/retrofit/retrofit/mime/MultipartTypedOutput.html new file mode 100644 index 0000000000..493069b332 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/MultipartTypedOutput.html @@ -0,0 +1,439 @@ + + + + + + +MultipartTypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class MultipartTypedOutput

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultipartTypedOutput

        +
        public MultipartTypedOutput()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/TypedByteArray.html b/website/1.x/retrofit/retrofit/mime/TypedByteArray.html new file mode 100644 index 0000000000..45a39a9361 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/TypedByteArray.html @@ -0,0 +1,465 @@ + + + + + + +TypedByteArray (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class TypedByteArray

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypedByteArray

        +
        public TypedByteArray(String mimeType,
        +                      byte[] bytes)
        +
        Constructs a new typed byte array. Sets mimeType to application/unknown if absent.
        +
        +
        Throws:
        +
        NullPointerException - if bytes are null
        +
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/TypedFile.html b/website/1.x/retrofit/retrofit/mime/TypedFile.html new file mode 100644 index 0000000000..124f4e532a --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/TypedFile.html @@ -0,0 +1,487 @@ + + + + + + +TypedFile (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class TypedFile

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypedFile

        +
        public TypedFile(String mimeType,
        +                 File file)
        +
        Constructs a new typed file.
        +
        +
        Throws:
        +
        NullPointerException - if file or mimeType is null
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        file

        +
        public File file()
        +
        Returns the file.
        +
      • +
      + + + + + + + +
        +
      • +

        length

        +
        public long length()
        +
        Description copied from interface: TypedInput
        +
        Length in bytes. Returns -1 if length is unknown.
        +
        +
        Specified by:
        +
        length in interface TypedInput
        +
        Specified by:
        +
        length in interface TypedOutput
        +
        +
      • +
      + + + +
        +
      • +

        fileName

        +
        public String fileName()
        +
        Description copied from interface: TypedOutput
        +
        Original filename. + + Used only for multipart requests, may be null.
        +
        +
        Specified by:
        +
        fileName in interface TypedOutput
        +
        +
      • +
      + + + +
        +
      • +

        in

        +
        public InputStream in()
        +               throws IOException
        +
        Description copied from interface: TypedInput
        +
        Read bytes as stream. Unless otherwise specified, this method may only be called once. It is + the responsibility of the caller to close the stream.
        +
        +
        Specified by:
        +
        in in interface TypedInput
        +
        Throws:
        +
        IOException
        +
        +
      • +
      + + + + + + + +
        +
      • +

        moveTo

        +
        public void moveTo(TypedFile destination)
        +            throws IOException
        +
        Atomically moves the contents of this file to a new location.
        +
        +
        Parameters:
        +
        destination - file
        +
        Throws:
        +
        IOException - if the move fails
        +
        +
      • +
      + + + + + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/TypedInput.html b/website/1.x/retrofit/retrofit/mime/TypedInput.html new file mode 100644 index 0000000000..aae1860191 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/TypedInput.html @@ -0,0 +1,273 @@ + + + + + + +TypedInput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Interface TypedInput

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TypedByteArray, TypedFile, TypedString
    +
    +
    +
    +
    public interface TypedInput
    +
    Binary data with an associated mime type.
    +
    +
    Author:
    +
    Jake Wharton (jw@squareup.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mimeType

        +
        String mimeType()
        +
        Returns the mime type.
        +
      • +
      + + + +
        +
      • +

        length

        +
        long length()
        +
        Length in bytes. Returns -1 if length is unknown.
        +
      • +
      + + + +
        +
      • +

        in

        +
        InputStream in()
        +        throws IOException
        +
        Read bytes as stream. Unless otherwise specified, this method may only be called once. It is + the responsibility of the caller to close the stream.
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/TypedOutput.html b/website/1.x/retrofit/retrofit/mime/TypedOutput.html new file mode 100644 index 0000000000..ad59f1687d --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/TypedOutput.html @@ -0,0 +1,290 @@ + + + + + + +TypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Interface TypedOutput

+
+
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fileName

        +
        String fileName()
        +
        Original filename. + + Used only for multipart requests, may be null.
        +
      • +
      + + + +
        +
      • +

        mimeType

        +
        String mimeType()
        +
        Returns the mime type.
        +
      • +
      + + + +
        +
      • +

        length

        +
        long length()
        +
        Length in bytes or -1 if unknown.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/TypedString.html b/website/1.x/retrofit/retrofit/mime/TypedString.html new file mode 100644 index 0000000000..6b6a98841c --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/TypedString.html @@ -0,0 +1,293 @@ + + + + + + +TypedString (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
retrofit.mime
+

Class TypedString

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/FormUrlEncodedTypedOutput.html b/website/1.x/retrofit/retrofit/mime/class-use/FormUrlEncodedTypedOutput.html new file mode 100644 index 0000000000..9b39559dc8 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/FormUrlEncodedTypedOutput.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.mime.FormUrlEncodedTypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.FormUrlEncodedTypedOutput

+
+
No usage of retrofit.mime.FormUrlEncodedTypedOutput
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/MimeUtil.html b/website/1.x/retrofit/retrofit/mime/class-use/MimeUtil.html new file mode 100644 index 0000000000..8877aa5b16 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/MimeUtil.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.mime.MimeUtil (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.MimeUtil

+
+
No usage of retrofit.mime.MimeUtil
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/MultipartTypedOutput.html b/website/1.x/retrofit/retrofit/mime/class-use/MultipartTypedOutput.html new file mode 100644 index 0000000000..da8d31f0e4 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/MultipartTypedOutput.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.mime.MultipartTypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.MultipartTypedOutput

+
+
No usage of retrofit.mime.MultipartTypedOutput
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/TypedByteArray.html b/website/1.x/retrofit/retrofit/mime/class-use/TypedByteArray.html new file mode 100644 index 0000000000..f31f200411 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/TypedByteArray.html @@ -0,0 +1,166 @@ + + + + + + +Uses of Class retrofit.mime.TypedByteArray (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.TypedByteArray

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/TypedFile.html b/website/1.x/retrofit/retrofit/mime/class-use/TypedFile.html new file mode 100644 index 0000000000..a966fb79b0 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/TypedFile.html @@ -0,0 +1,168 @@ + + + + + + +Uses of Class retrofit.mime.TypedFile (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.TypedFile

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/TypedInput.html b/website/1.x/retrofit/retrofit/mime/class-use/TypedInput.html new file mode 100644 index 0000000000..24d9db75b6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/TypedInput.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Interface retrofit.mime.TypedInput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.mime.TypedInput

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/TypedOutput.html b/website/1.x/retrofit/retrofit/mime/class-use/TypedOutput.html new file mode 100644 index 0000000000..6a5f8d9ec6 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/TypedOutput.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Interface retrofit.mime.TypedOutput (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
retrofit.mime.TypedOutput

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/class-use/TypedString.html b/website/1.x/retrofit/retrofit/mime/class-use/TypedString.html new file mode 100644 index 0000000000..291bb63b67 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/class-use/TypedString.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class retrofit.mime.TypedString (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
retrofit.mime.TypedString

+
+
No usage of retrofit.mime.TypedString
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/package-frame.html b/website/1.x/retrofit/retrofit/mime/package-frame.html new file mode 100644 index 0000000000..b21d4b3f46 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/package-frame.html @@ -0,0 +1,31 @@ + + + + + + +retrofit.mime (Retrofit 1.9.0 API) + + + + + +

retrofit.mime

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/mime/package-summary.html b/website/1.x/retrofit/retrofit/mime/package-summary.html new file mode 100644 index 0000000000..7f7a5e9365 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/package-summary.html @@ -0,0 +1,191 @@ + + + + + + +retrofit.mime (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit.mime

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/package-tree.html b/website/1.x/retrofit/retrofit/mime/package-tree.html new file mode 100644 index 0000000000..1c51c063c7 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +retrofit.mime Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit.mime

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/mime/package-use.html b/website/1.x/retrofit/retrofit/mime/package-use.html new file mode 100644 index 0000000000..9e0de9a858 --- /dev/null +++ b/website/1.x/retrofit/retrofit/mime/package-use.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Package retrofit.mime (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit.mime

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/package-frame.html b/website/1.x/retrofit/retrofit/package-frame.html new file mode 100644 index 0000000000..a13eecd337 --- /dev/null +++ b/website/1.x/retrofit/retrofit/package-frame.html @@ -0,0 +1,44 @@ + + + + + + +retrofit (Retrofit 1.9.0 API) + + + + + +

retrofit

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +

Exceptions

+ +
+ + diff --git a/website/1.x/retrofit/retrofit/package-summary.html b/website/1.x/retrofit/retrofit/package-summary.html new file mode 100644 index 0000000000..5e0f12c18f --- /dev/null +++ b/website/1.x/retrofit/retrofit/package-summary.html @@ -0,0 +1,275 @@ + + + + + + +retrofit (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package retrofit

+
+
Retrofit turns your REST API into a Java interface.
+
+

See: Description

+
+
+ + + + +

Package retrofit Description

+
Retrofit turns your REST API into a Java interface. +
+ public interface GitHubService {
+   @GET("/users/{user}/repos")
+   List<Repo> listRepos(@Path("user") String user);
+ }
+ 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/package-tree.html b/website/1.x/retrofit/retrofit/package-tree.html new file mode 100644 index 0000000000..7afa7ec98a --- /dev/null +++ b/website/1.x/retrofit/retrofit/package-tree.html @@ -0,0 +1,179 @@ + + + + + + +retrofit Class Hierarchy (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package retrofit

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/retrofit/package-use.html b/website/1.x/retrofit/retrofit/package-use.html new file mode 100644 index 0000000000..cb498670ec --- /dev/null +++ b/website/1.x/retrofit/retrofit/package-use.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Package retrofit (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
retrofit

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/script.js b/website/1.x/retrofit/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/website/1.x/retrofit/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/website/1.x/retrofit/serialized-form.html b/website/1.x/retrofit/serialized-form.html new file mode 100644 index 0000000000..5d53e54742 --- /dev/null +++ b/website/1.x/retrofit/serialized-form.html @@ -0,0 +1,176 @@ + + + + + + +Serialized Form (Retrofit 1.9.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2015 Square, Inc.. All Rights Reserved.

+ + diff --git a/website/1.x/retrofit/stylesheet.css b/website/1.x/retrofit/stylesheet.css new file mode 100644 index 0000000000..cebb4fd8d5 --- /dev/null +++ b/website/1.x/retrofit/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/website/1.x/retrofit/version.txt b/website/1.x/retrofit/version.txt new file mode 100644 index 0000000000..abb1658232 --- /dev/null +++ b/website/1.x/retrofit/version.txt @@ -0,0 +1 @@ +1.9.0 \ No newline at end of file diff --git a/website/1.x/sample-github-client/META-INF/MANIFEST.MF b/website/1.x/sample-github-client/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..6e4b325163 --- /dev/null +++ b/website/1.x/sample-github-client/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jw +Build-Jdk: 1.6.0_45 + diff --git a/website/1.x/sample-github-client/allclasses-frame.html b/website/1.x/sample-github-client/allclasses-frame.html new file mode 100644 index 0000000000..82da2d6c3f --- /dev/null +++ b/website/1.x/sample-github-client/allclasses-frame.html @@ -0,0 +1,32 @@ + + + + + + + +All Classes (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + +All Classes +
+ + + + + +
GitHubClient +
+
+ + + diff --git a/website/1.x/sample-github-client/allclasses-noframe.html b/website/1.x/sample-github-client/allclasses-noframe.html new file mode 100644 index 0000000000..7c9ad8369a --- /dev/null +++ b/website/1.x/sample-github-client/allclasses-noframe.html @@ -0,0 +1,32 @@ + + + + + + + +All Classes (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + +All Classes +
+ + + + + +
GitHubClient +
+
+ + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/GitHubClient.html b/website/1.x/sample-github-client/com/example/retrofit/GitHubClient.html new file mode 100644 index 0000000000..80f71e94fd --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/GitHubClient.html @@ -0,0 +1,251 @@ + + + + + + + +GitHubClient (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.example.retrofit +
+Class GitHubClient

+
+java.lang.Object
+  extended by com.example.retrofit.GitHubClient
+
+
+
+
public class GitHubClient
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GitHubClient() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String... args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GitHubClient

+
+public GitHubClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String... args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/class-use/GitHubClient.html b/website/1.x/sample-github-client/com/example/retrofit/class-use/GitHubClient.html new file mode 100644 index 0000000000..85021ff456 --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/class-use/GitHubClient.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.example.retrofit.GitHubClient (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.example.retrofit.GitHubClient

+
+No usage of com.example.retrofit.GitHubClient +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/package-frame.html b/website/1.x/sample-github-client/com/example/retrofit/package-frame.html new file mode 100644 index 0000000000..8fb5856642 --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.example.retrofit (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + +com.example.retrofit + + + + +
+Classes  + +
+GitHubClient
+ + + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/package-summary.html b/website/1.x/sample-github-client/com/example/retrofit/package-summary.html new file mode 100644 index 0000000000..f900f67cd7 --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.example.retrofit (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.example.retrofit +

+ + + + + + + + + +
+Class Summary
GitHubClient 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/package-tree.html b/website/1.x/sample-github-client/com/example/retrofit/package-tree.html new file mode 100644 index 0000000000..8096affbca --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/package-tree.html @@ -0,0 +1,149 @@ + + + + + + + +com.example.retrofit Class Hierarchy (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.example.retrofit +

+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/com/example/retrofit/package-use.html b/website/1.x/sample-github-client/com/example/retrofit/package-use.html new file mode 100644 index 0000000000..0b49737d02 --- /dev/null +++ b/website/1.x/sample-github-client/com/example/retrofit/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.example.retrofit (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.example.retrofit

+
+No usage of com.example.retrofit +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/constant-values.html b/website/1.x/sample-github-client/constant-values.html new file mode 100644 index 0000000000..866753e6ba --- /dev/null +++ b/website/1.x/sample-github-client/constant-values.html @@ -0,0 +1,145 @@ + + + + + + + +Constant Field Values (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/deprecated-list.html b/website/1.x/sample-github-client/deprecated-list.html new file mode 100644 index 0000000000..9a1b5780ae --- /dev/null +++ b/website/1.x/sample-github-client/deprecated-list.html @@ -0,0 +1,145 @@ + + + + + + + +Deprecated List (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/help-doc.html b/website/1.x/sample-github-client/help-doc.html new file mode 100644 index 0000000000..89cd807c4b --- /dev/null +++ b/website/1.x/sample-github-client/help-doc.html @@ -0,0 +1,216 @@ + + + + + + + +API Help (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/index-all.html b/website/1.x/sample-github-client/index-all.html new file mode 100644 index 0000000000..8edce05520 --- /dev/null +++ b/website/1.x/sample-github-client/index-all.html @@ -0,0 +1,157 @@ + + + + + + + +Index (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +C G M
+

+C

+
+
com.example.retrofit - package com.example.retrofit
 
+
+

+G

+
+
GitHubClient - Class in com.example.retrofit
 
GitHubClient() - +Constructor for class com.example.retrofit.GitHubClient +
  +
+
+

+M

+
+
main(String...) - +Static method in class com.example.retrofit.GitHubClient +
  +
+
+C G M + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/index.html b/website/1.x/sample-github-client/index.html new file mode 100644 index 0000000000..85873240cc --- /dev/null +++ b/website/1.x/sample-github-client/index.html @@ -0,0 +1,37 @@ + + + + + + + +Sample: GitHub Client 1.0.2 API + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="com/example/retrofit/package-summary.html">Non-frame version.</A> + + + diff --git a/website/1.x/sample-github-client/overview-tree.html b/website/1.x/sample-github-client/overview-tree.html new file mode 100644 index 0000000000..7c2450802c --- /dev/null +++ b/website/1.x/sample-github-client/overview-tree.html @@ -0,0 +1,151 @@ + + + + + + + +Class Hierarchy (Sample: GitHub Client 1.0.2 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.example.retrofit
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 Square, Inc.. All Rights Reserved. + + diff --git a/website/1.x/sample-github-client/package-list b/website/1.x/sample-github-client/package-list new file mode 100644 index 0000000000..ecc863185c --- /dev/null +++ b/website/1.x/sample-github-client/package-list @@ -0,0 +1 @@ +com.example.retrofit diff --git a/website/1.x/sample-github-client/resources/inherit.gif b/website/1.x/sample-github-client/resources/inherit.gif new file mode 100644 index 0000000000000000000000000000000000000000..c814867a13deb0ca7ea2156c6ca1d5a03372af7e GIT binary patch literal 57 zcmZ?wbhEHbIIT!9-C*e{wE9>Kx3D)-;0v)C; KYxQGgum%9JOA&7X literal 0 HcmV?d00001 diff --git a/website/1.x/sample-github-client/stylesheet.css b/website/1.x/sample-github-client/stylesheet.css new file mode 100644 index 0000000000..6ea9e51616 --- /dev/null +++ b/website/1.x/sample-github-client/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/website/1.x/sample-github-client/version.txt b/website/1.x/sample-github-client/version.txt new file mode 100644 index 0000000000..e6d5cb833c --- /dev/null +++ b/website/1.x/sample-github-client/version.txt @@ -0,0 +1 @@ +1.0.2 \ No newline at end of file