1. 23 10月, 2014 3 次提交
  2. 22 10月, 2014 10 次提交
  3. 21 10月, 2014 12 次提交
  4. 20 10月, 2014 4 次提交
  5. 18 10月, 2014 4 次提交
    • J
      JdbcTemplate and JmsTemplate pass settings with 0 values on to the driver · 57d63a19
      Juergen Hoeller 提交于
      Issue: SPR-12338
      57d63a19
    • A
      Fix SpEL compilation of constructor invocation · aae221cb
      Andy Clement 提交于
      The argument processing for compiling constructor references
      was very basic and this fix removes that and ensures the
      comprehensive logic written for method argument processing
      (under SPR-12328) is now used for both method and constructor
      argument handling. This fixes the reported issue and ensures
      varargs constructor references can be compiled.
      
      This also includes a couple of small fixes for the secondary
      testcase reported in SPR-12326. The first is to ensure the
      right root context object is used when it is passed
      to getValue() indirectly through the evaluation context.
      The final fix is to ensure correct boxing of primitives is
      done when a method is called upon a primitive.
      
      Issue: SPR-12326
      aae221cb
    • R
      Fix regression with raw ResponseEntity type · c5e360d8
      Rossen Stoyanchev 提交于
      This fix addresses a 4.1.1 regression where a raw ResponseEntity return
      value (used to return potentially a different kind of body) caused an
      exception.
      
      The regression came from the fact we now try to render a null body in
      order to give ResponseBodyAdvice a chance to substitute a different
      value. That in turn means we have to try to determine the body type
      from the method signature.
      
      This change improves the logic for extracting the generic parameter
      type to accommodate a raw ResponseEntity class. Also we avoid raising
      HttpMediaTypeNotAcceptableException if the value to be rendered is
      null.
      
      Issue: SPR-12287
      c5e360d8
    • B
      Upgrade to reactor 1.1.5.RELEASE · cc5f4889
      Brian Clozel 提交于
      cc5f4889
  6. 17 10月, 2014 4 次提交
    • R
      Cache lookup path in ResourceUrlEncodingFilter · 3d96c883
      Rossen Stoyanchev 提交于
      Commit https://github.com/spring-projects/spring-framework/commit/2b97d6
      introduced a change where the path within the DispatcherServlet is
      determined with each call to ResourceUrlProvider.getForRequestUrl.
      
      To avoid repeating that every time a URL is encoded through the
      response, we now cache the result of the lookupPath determination in
      ResourceUrlEncodingFilter.
      
      Issue: SPR-12332
      3d96c883
    • R
      Polish ResourceUrlEncodingFilter · f353a28f
      Rossen Stoyanchev 提交于
      f353a28f
    • R
      Avoid HandlerMapping attribute in ResourceUrlProvider · 97441d05
      Rossen Stoyanchev 提交于
      The use of the HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE
      in ResourceUrlProvider (as a way of saving lookup path determination)
      leads to incorrect results. For example when the request is forwarded
      the current requestUri may no longer be compariable to the value of the
      PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE. Also where the request is mapped
      using a pattern, the value of PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE is
      not the same as the lookup path.
      
      This change removes the use of the attribute from ResourceUrlProvider
      and instead always determines the lookup path when getForRequestUrl
      is called.
      
      Issue: SPR-12332
      97441d05
    • A
      Enhance SpEL compilation to cover additional expression types · 115f85e4
      Andy Clement 提交于
      This change introduces support for compilation of expressions
      involving inline lists, string concatenation and method
      invocations where the method being invoked is declared
      with a varargs parameter. It also fixes a problem with
      compiling existing method invocations where the target
      method is on a non public type.
      
      Issue: SPR-12328
      115f85e4
  7. 16 10月, 2014 3 次提交