Interface RequestMethodResolver

  • All Known Implementing Classes:
    DefaultRequestMethodResolver

    public interface RequestMethodResolver
    Service to resolve a method name for a request. Useful to identify the intention of the request. For example, some POST methods actually do only GET operations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String resolvePostToGet​(javax.servlet.http.HttpServletRequest request)
      Method should return a "GET" for a particular "POST" request otherwise it returns the method name from the request.
    • Method Detail

      • resolvePostToGet

        java.lang.String resolvePostToGet​(javax.servlet.http.HttpServletRequest request)
        Method should return a "GET" for a particular "POST" request otherwise it returns the method name from the request.
        Parameters:
        request - the request
        Returns:
        the method name