Popularity
4.4
-
Activity
7.1
Declining
342
16
63

Description

Type-safe HTTP client for Android and Java by Square, Inc.

For more information please see the website.

Code Quality Rank: L1
Programming language: Java
Tags: REST Frameworks    
Latest version: v2.6.2

Retrofit alternatives and similar libraries

Based on the "REST Frameworks" category

  • Dropwizard

    Opinionated framework for setting up modern web applications with Jetty, Jackson, Jersey and Metrics.
  • Spark

    Sinatra inspired framework.
  • Jersey

    JAX-RS reference implementation.
  • rest.li

    Framework for building robust, scalable RESTful architectures using type-safe bindings and asynchronous, non-blocking IO with an end-to-end developer workflow that promotes clean practices, uniform interface design and consistent data modeling.
  • Restlet Framework

    Pioneering framework with powerful routing and filtering capabilities, unified client and server API.
  • Swagger

    Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services.
  • RESTEasy

    Fully certified and portable implementation of the JAX-RS specification.
  • Feign

    HTTP client binder inspired by Retrofit, JAXRS-2.0, and WebSocket.
  • Rapidoid

    A simple, secure and extremely fast framework consisting of embedded HTTP server, GUI components and dependency injection.
  • RestExpress

    Thin wrapper on the JBoss Netty HTTP stack to provide scaling and performance.
  • Microserver

    A convenient extensible Microservices plugin system for Spring & Spring Boot, with over 30 plugins and growing, that supports both micro-monolith and pure microservices styles.
  • RAML

    Modeling language to generate REST APIs with contract first.
  • RestX

    Framework based on annotation processing and compile-time source generation.
  • Crnk

    Implementation of the JSON API specification to build resource-oriented REST endpoints with sorting, filtering, paging, linking, object graphs, type-safety, bulk updates, integrations and more.
  • StubbornJava

    Unconventional Java code for building web servers / services without a framework. Think dropwizard but as a seed project instead of a framework. If this project had a theme it would be break the rules but be mindful of your decisions.
  • gemini

    Model Driven REST framework to automatically generate CRUD APIs
  • Restler

    Automatically generates a web service client at run time by analyzing its annotated Spring controller interface

Do you think we are missing an alternative of Retrofit or a related project?

Add another 'REST Frameworks' Library

README

Retrofit

Type-safe HTTP client for Android and Java by Square, Inc.

For more information please see the website.

Download

Download the latest JAR or grab from Maven central at the coordinates com.squareup.retrofit2:retrofit:2.6.2.

Snapshots of the development version are available in Sonatype's snapshots repository.

Retrofit requires at minimum Java 8+ or Android API 21+.

R8 / ProGuard

If you are using R8 the shrinking and obfuscation rules are included automatically.

ProGuard users must manually add the options from this file. (Note: You might also need rules for OkHttp and Okio which are dependencies of this library)

License

Copyright 2013 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


*Note that all licence references and agreements mentioned in the Retrofit README section above are relevant to that project's source code only.