Class HttpMethod$

java.lang.Object
akka.http.scaladsl.model.HttpMethod$
All Implemented Interfaces:
Serializable

public class HttpMethod$ extends Object implements Serializable
See Also:
  • Field Summary

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    custom(String name)
    Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false, requestEntityAcceptance = Expected and contentLengthAllowed always true.
    custom(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).
    custom(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 Details

    • MODULE$

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

    • HttpMethod$

      public HttpMethod$()
  • Method Details

    • custom

      public HttpMethod custom(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(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(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)