Packages

t

ackcord.requests

NoParamsNiceResponseReasonRequest

trait NoParamsNiceResponseReasonRequest[Self <: NoParamsNiceResponseReasonRequest[Self, Response], Response] extends NoParamsReasonRequest[Self, Response, Response] with NoNiceResponseReasonRequest[Self, NotUsed, Response]

A request, with an audit log reason, that takes no params, and where the response type and the nice response type are the same.

Source
baseRequestObjs.scala
Linear Supertypes
NoNiceResponseReasonRequest[Self, NotUsed, Response], NoNiceResponseRequest[NotUsed, Response], NoParamsReasonRequest[Self, Response, Response], NoParamsRequest[Response, Response], ReasonRequest[Self, NotUsed, Response, Response], RESTRequest[NotUsed, Response, Response], BaseRESTRequest[Response, Response], Request[Response], MaybeRequest[Response], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoParamsNiceResponseReasonRequest
  2. NoNiceResponseReasonRequest
  3. NoNiceResponseRequest
  4. NoParamsReasonRequest
  5. NoParamsRequest
  6. ReasonRequest
  7. RESTRequest
  8. BaseRESTRequest
  9. Request
  10. MaybeRequest
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def reason: Option[String]
    Definition Classes
    ReasonRequest
  2. abstract def responseDecoder: Decoder[Response]

    A decoder to decode the response.

    A decoder to decode the response.

    Definition Classes
    BaseRESTRequest
  3. abstract def route: RequestRoute

    The router for this request.

    The router for this request.

    Definition Classes
    Request
  4. abstract def withReason(reason: String): Self

    A reason to add to the audit log entry.

    A reason to add to the audit log entry.

    Definition Classes
    ReasonRequest

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bodyForLogging: Option[String]

    Returns the body of this Request for use in logging.

    Returns the body of this Request for use in logging.

    Definition Classes
    RESTRequestRequest
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def collect[B](f: PartialFunction[Response, B]): Request[B]

    Map the result if the function is defined for the response data.

    Map the result if the function is defined for the response data.

    Definition Classes
    Request
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def extraHeaders: Seq[HttpHeader]

    All the extra headers to send with this request.

    All the extra headers to send with this request.

    Definition Classes
    ReasonRequestRequest
  11. def filter(f: (Response) => Boolean): Request[Response]

    Filter the response of sending this request.

    Filter the response of sending this request.

    Definition Classes
    Request
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hasPermissions(implicit c: CacheSnapshot): Boolean

    Check if a client has the needed permissions to execute this request.

    Check if a client has the needed permissions to execute this request.

    Definition Classes
    BaseRESTRequestRequest
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val identifier: UUID

    An unique identifier to track this request from creation to answer.

    An unique identifier to track this request from creation to answer.

    Definition Classes
    Request
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def jsonParams: Json

    The params of this request converted to json.

    The params of this request converted to json.

    Definition Classes
    RESTRequest
  19. def jsonPrinter: Printer
    Definition Classes
    RESTRequest
  20. def map[B](f: (Response) => B): Request[B]

    Map the result of sending this request.

    Map the result of sending this request.

    Definition Classes
    Request
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def params: NotUsed

    The params of this request

    The params of this request

    Definition Classes
    NoParamsRequestRESTRequest
  25. def paramsEncoder: Encoder[NotUsed]

    An encoder for the params of this request

    An encoder for the params of this request

    Definition Classes
    NoParamsRequestRESTRequest
  26. def parseResponse(entity: ResponseEntity)(implicit system: ActorSystem[Nothing]): Future[Response]

    A flow that can be used to parse the responses from this request.

    A flow that can be used to parse the responses from this request.

    Definition Classes
    BaseRESTRequestRequest
  27. def requestBody: RequestEntity

    The body of the request to send.

    The body of the request to send.

    Definition Classes
    RESTRequestRequest
  28. def requiredPermissions: Permission

    The permissions needed to use this request.

    The permissions needed to use this request.

    Definition Classes
    BaseRESTRequest
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toNiceResponse(response: Response): Response

    Convert the response to a format the cache handler can understand.

    Convert the response to a format the cache handler can understand.

    Definition Classes
    NoNiceResponseRequestBaseRESTRequest
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def transformResponse[B](f: (ExecutionContext) => (Future[Response]) => Future[B]): Request[B]

    Transform the response of this request as a flow.

    Transform the response of this request as a flow.

    Definition Classes
    Request
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from NoNiceResponseReasonRequest[Self, NotUsed, Response]

Inherited from NoNiceResponseRequest[NotUsed, Response]

Inherited from NoParamsReasonRequest[Self, Response, Response]

Inherited from NoParamsRequest[Response, Response]

Inherited from ReasonRequest[Self, NotUsed, Response, Response]

Inherited from RESTRequest[NotUsed, Response, Response]

Inherited from BaseRESTRequest[Response, Response]

Inherited from Request[Response]

Inherited from MaybeRequest[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped