Class RequestMapping

java.lang.Object
org.springframework.integration.http.inbound.RequestMapping

public class RequestMapping extends Object
Class for mapping web requests onto specific HttpRequestHandlingEndpointSupport. Provides direct mapping in terms of functionality compared to RequestMapping.
Since:
3.0
Author:
Artem Bilan
See Also:
  • Constructor Details

    • RequestMapping

      public RequestMapping()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setPathPatterns

      public void setPathPatterns(String... pathPatterns)
    • getPathPatterns

      public String[] getPathPatterns()
    • setMethodNames

      public void setMethodNames(String... supportedMethods)
      Configure a set of supported HTTP methods from their string representations.
      Parameters:
      supportedMethods - the array of HTTP method names.
      Since:
      6.0
    • setMethods

      public void setMethods(HttpMethod... supportedMethods)
    • getMethods

      public HttpMethod[] getMethods()
    • setParams

      public void setParams(String... params)
    • getParams

      public String[] getParams()
    • setHeaders

      public void setHeaders(String... headers)
    • getHeaders

      public String[] getHeaders()
    • setConsumes

      public void setConsumes(String... consumes)
    • getConsumes

      public String[] getConsumes()
    • setProduces

      public void setProduces(String... produces)
    • getProduces

      public String[] getProduces()
    • getRequestMethods

      public RequestMethod[] getRequestMethods()