1. 08 3月, 2016 4 次提交
  2. 07 3月, 2016 2 次提交
  3. 06 3月, 2016 1 次提交
    • S
      Polish · e086a5d5
      Stephane Nicoll 提交于
      Add period unit in the description so that it shows up in the summary
      description.
      e086a5d5
  4. 05 3月, 2016 6 次提交
  5. 04 3月, 2016 5 次提交
  6. 03 3月, 2016 5 次提交
  7. 02 3月, 2016 6 次提交
  8. 01 3月, 2016 9 次提交
    • B
      Support conditional updates in ServletWebRequest · 0d6f8005
      Brian Clozel 提交于
      Prior to this commit, `ServletWebRequest.checkNotModified` would only
      support conditional GET/HEAD requests with "If-Modified-Since" and/or
      "If-None-Match" request headers. In those cases, the server would return
      "HTTP 304 Not Modified" responses if the resource didn't change.
      
      This commit adds support for conditional update requests, such as
      POST/PUT/DELETE requests with "If-Unmodified-Since" request headers.
      If the underlying resource has been modified since the specified date,
      the server will return a "409 Precondition failed" response status
      to prevent concurrent updates.
      
      Even if the modification status of the resource is reversed here
      (modified vs. not modified), we're keeping here the same intent for the
      return value, which signals if the response requires more processing or
      if the handler method can return immediately:
      
      ```
      if (request.checkNotModified(lastModified)) {
        // shortcut exit - no further processing necessary
        return null;
      }
      ```
      
      Issue: SPR-13863
      0d6f8005
    • S
      Fix HeaderResultMatchers#string(String, String) assert order · b3abd3b8
      Sebastien Deleuze 提交于
      Issue: SPR-14004
      b3abd3b8
    • S
      Allow to specify AbstractHttpMessageConverter default charset · c3854273
      Sebastien Deleuze 提交于
      Before this commit, specifying the charset to use with produces or
      consumes @RequestMapping attributes resulted in default charset
      loss. That was really annoying for JSON for example, where using
      UTF-8 charset is mandatory in a lot of use cases.
      
      This commit adds a defaultCharset property to
      AbstractHttpMessageConverter in order to avoid losing the
      default charset when specifying the charset with these
      @RequestMapping attributes.
      
      It changes slightly the default behavior (that's why we have waited
      4.3), but it is much more error prone, and will match with most
      user's expectations since the charset loss was accidental in most
      use cases (users usually just want to limit the media type supported
      by a specific handler method).
      
      Issue: SPR-13631
      c3854273
    • S
      Remove trailing whitespace from source code · 61824b1a
      Sam Brannen 提交于
      61824b1a
    • S
      Merge pull request #981 from sbrannen/SPR-13992 · 2bb26574
      Sam Brannen 提交于
      * SPR-13992:
        Introduce composed annotations for @RequestMapping
      2bb26574
    • S
      Introduce composed annotations for @RequestMapping · 467b5f3f
      Sam Brannen 提交于
      This commit introduces the following common composed annotations for
      @RequestMapping in Spring MVC and Spring MVC REST.
      
      - @GetMapping
      - @PostMapping
      - @PutMapping
      - @DeleteMapping
      - @PatchMapping
      
      Issue: SPR-13992
      467b5f3f
    • S
      Add sun.misc annotation marker · 5923ee8a
      Stephane Nicoll 提交于
      This commit adds an annotation that should be used to mark any usage of
      the `sun.misc` API.
      5923ee8a
    • S
      Merge pull request #982 from sbrannen/SPR-13993 · 161ec15a
      Sam Brannen 提交于
      * SPR-13993:
        Introduce composed annotations for web scopes
      161ec15a
    • S
      Introduce composed annotations for web scopes · b423596b
      Sam Brannen 提交于
      This commit introduces the following common composed annotations for
      web scopes.
      
      - @RequestScope
      - @SessionScope
      - @ApplicationScope
      
      Issue: SPR-13993
      b423596b
  9. 29 2月, 2016 2 次提交
    • S
      Allow non-public @Transactional test methods · df7b24b8
      Sam Brannen 提交于
      Prior to this commit, the TransactionalTestExecutionListener required
      @Transactional test methods to be public; however, neither TestNG nor
      JUnit 5 require that @test methods are public. Consequently, non-public
      transactional test methods silently run *without* a transaction.
      
      This commit removes the 'public' restriction on transactional test
      methods by setting the 'publicMethodsOnly' flag in
      AnnotationTransactionAttributeSource to false.
      
      Issue: SPR-14000
      df7b24b8
    • S
      Polish TestNG integration tests · 197434b3
      Sam Brannen 提交于
      197434b3