Class HttpMethod$

  • All Implemented Interfaces:
    java.io.Serializable

    public class HttpMethod$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static HttpMethod$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpMethod$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      HttpMethod custom​(java.lang.String name)
      Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false, requestEntityAcceptance = Expected and contentLengthAllowed always true.
      HttpMethod custom​(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance)
      Deprecated.
      The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).
      HttpMethod custom​(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance, boolean contentLengthAllowed)
      Create a custom method type.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

        public static final HttpMethod$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • HttpMethod$

        public HttpMethod$()
    • Method Detail

      • custom

        public HttpMethod custom​(java.lang.String name,
                                 boolean safe,
                                 boolean idempotent,
                                 RequestEntityAcceptance requestEntityAcceptance)
        Deprecated.
        The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).
        Create a custom method type.
        Parameters:
        name - (undocumented)
        safe - (undocumented)
        idempotent - (undocumented)
        requestEntityAcceptance - (undocumented)
        Returns:
        (undocumented)
      • custom

        public HttpMethod custom​(java.lang.String name,
                                 boolean safe,
                                 boolean idempotent,
                                 RequestEntityAcceptance requestEntityAcceptance,
                                 boolean contentLengthAllowed)
        Create a custom method type.
        Parameters:
        name - (undocumented)
        safe - (undocumented)
        idempotent - (undocumented)
        requestEntityAcceptance - (undocumented)
        contentLengthAllowed - (undocumented)
        Returns:
        (undocumented)
      • custom

        public HttpMethod custom​(java.lang.String name)
        Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false, requestEntityAcceptance = Expected and contentLengthAllowed always true.
        Parameters:
        name - (undocumented)
        Returns:
        (undocumented)