Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.1 GA, 4.2 GA
    • Fix Version/s: 4.1.9, 4.2.3
    • Component/s: [Documentation]
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Hello

      In RequestEntity<T> says

      RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar").accept(MediaType.APPLICATION_JSON).body(body);
      

      Must be

      RequestEntity<MyRequest> request = RequestEntity.post(new URI("http://example.com/bar")).accept(MediaType.APPLICATION_JSON).body(body);
      

        Activity

        Hide
        dr_pompeii Manuel Jordan added a comment -

        Other error

        says:

         URI uri = new UriTemplate("http://example.com/{foo}"").expand("bar");
        

        Must be

         URI uri = new UriTemplate("http://example.com/{foo}").expand("bar");
        

        Show
        dr_pompeii Manuel Jordan added a comment - Other error says: URI uri = new UriTemplate( "http://example.com/{foo}" ").expand(" bar"); Must be URI uri = new UriTemplate( "http://example.com/{foo}" ).expand( "bar" );

          People

          • Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            dr_pompeii Manuel Jordan
            Last updater:
            St├ęphane Nicoll
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 15 weeks, 4 days ago