Interface Method


  • public interface Method
    The Method interface contains the common HTTP methods that are sent with a request. This only contains those methods that have been defined within the RFC 2616 specification. These are defined here for convenience and informational purposes.
    Author:
    Niall Gallagher
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONNECT
      For use with a proxy that can dynamically switch to being a tunnel.
      static java.lang.String DELETE
      Requests that the origin server delete the resource identified.
      static java.lang.String GET
      Retrieve whatever information is identified by the request.
      static java.lang.String HEAD
      Retrieve only the headers for the resource that is requested.
      static java.lang.String OPTIONS
      Represents a request for the communication options available.
      static java.lang.String POST
      Request that the origin server accept the entity in the request.
      static java.lang.String PUT
      Requests that the entity be stored as the resource specified
      static java.lang.String TRACE
      Invoke a remote application layer loop back of the request.
    • Field Detail

      • CONNECT

        static final java.lang.String CONNECT
        For use with a proxy that can dynamically switch to being a tunnel.
        See Also:
        Constant Field Values
      • DELETE

        static final java.lang.String DELETE
        Requests that the origin server delete the resource identified.
        See Also:
        Constant Field Values
      • GET

        static final java.lang.String GET
        Retrieve whatever information is identified by the request.
        See Also:
        Constant Field Values
      • HEAD

        static final java.lang.String HEAD
        Retrieve only the headers for the resource that is requested.
        See Also:
        Constant Field Values
      • OPTIONS

        static final java.lang.String OPTIONS
        Represents a request for the communication options available.
        See Also:
        Constant Field Values
      • POST

        static final java.lang.String POST
        Request that the origin server accept the entity in the request.
        See Also:
        Constant Field Values
      • PUT

        static final java.lang.String PUT
        Requests that the entity be stored as the resource specified
        See Also:
        Constant Field Values
      • TRACE

        static final java.lang.String TRACE
        Invoke a remote application layer loop back of the request.
        See Also:
        Constant Field Values