Skip to content

isabella232/gwt-http

 
 

Repository files navigation

GWT HTTP

A future-proof port of the com.google.gwt.http.HTTP GWT module, with no dependency on gwt-user (besides the Java Runtime Emulation), to prepare for GWT 3 / J2Cl.

Browser compatibility

The code should be compatible with all evergreen browsers, and Internet Explorer 10 and 11.

Migrating from c.g.g.http.HTTP

  1. Add the dependency to your build.

    For Maven:

    <dependency>
      <groupId>org.gwtproject.http</groupId>
      <artifactId>gwt-http</artifactId>
      <version>${gwtHttpVersion}</version>
    </dependency>

    For Gradle:

    compile "org.gwtproject.http:gwt-http:${gwtHttpVersion}"
  2. Update your GWT module to use

    <inherits name="org.gwtproject.http.HTTP" />

    (either change from com.google.gwt.http.HTTP, or add it if you inherited it transitively from another GWT module)

  3. Change your imports in your Java source files:

    import org.gwtproject.http.client.RequestBuilder;
    import org.gwtproject.http.client.URL;
    import org.gwtproject.http.client.UrlBuilder;

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.4%
  • Kotlin 4.6%