Class RequestMethods


  • public class RequestMethods
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONNECT
      The CONNECT method establishes a tunnel to the server identified by the target resource.
      static java.lang.String DELETE
      The DELETE method deletes the specified resource.
      static java.lang.String GET
      The GET method requests a representation of the specified resource.
      static java.lang.String HEAD
      The HEAD method asks for a response identical to a GET request, but without the response body.
      static java.lang.String OPTIONS
      The OPTIONS method describes the communication options for the target resource.
      static java.lang.String PATCH
      The PATCH method applies partial modifications to a resource.
      static java.lang.String POST
      The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server.
      static java.lang.String PUT
      The PUT method replaces all current representations of the target resource with the request payload.
      static java.lang.String TRACE
      The TRACE method performs a message loop-back test along the path to the target resource.
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestMethods()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GET

        public static final java.lang.String GET
        The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
        See Also:
        Constant Field Values
      • HEAD

        public static final java.lang.String HEAD
        The HEAD method asks for a response identical to a GET request, but without the response body.
        See Also:
        Constant Field Values
      • POST

        public static final java.lang.String POST
        The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server.
        See Also:
        Constant Field Values
      • PUT

        public static final java.lang.String PUT
        The PUT method replaces all current representations of the target resource with the request payload.
        See Also:
        Constant Field Values
      • DELETE

        public static final java.lang.String DELETE
        The DELETE method deletes the specified resource.
        See Also:
        Constant Field Values
      • CONNECT

        public static final java.lang.String CONNECT
        The CONNECT method establishes a tunnel to the server identified by the target resource.
        See Also:
        Constant Field Values
      • OPTIONS

        public static final java.lang.String OPTIONS
        The OPTIONS method describes the communication options for the target resource.
        See Also:
        Constant Field Values
      • TRACE

        public static final java.lang.String TRACE
        The TRACE method performs a message loop-back test along the path to the target resource.
        See Also:
        Constant Field Values
      • PATCH

        public static final java.lang.String PATCH
        The PATCH method applies partial modifications to a resource.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RequestMethods

        public RequestMethods()