Class

akka.http.javadsl.model

HttpResponse

Related Doc: package model

Permalink

abstract class HttpResponse extends HttpMessage with MessageTransformations[HttpResponse]

Source
HttpResponse.java
Linear Supertypes
HttpMessage.MessageTransformations[HttpResponse], HttpMessage, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpResponse
  2. MessageTransformations
  3. HttpMessage
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpResponse()

    Permalink

Type Members

  1. type DiscardedEntity = HttpMessage.DiscardedEntity

    Permalink
    Attributes
    protected
    Definition Classes
    HttpMessage
  2. type MessageTransformations[Self] = HttpMessage.MessageTransformations[Self]

    Permalink
    Attributes
    protected
    Definition Classes
    HttpMessage

Abstract Value Members

  1. abstract def addCredentials(credentials: HttpCredentials): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  2. abstract def addHeader(header: HttpHeader): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  3. abstract def addHeaders(headers: Iterable[HttpHeader]): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  4. abstract def discardEntityBytes(materializer: Materializer): DiscardedEntity

    Permalink
    Definition Classes
    HttpMessage
  5. abstract def encoding(): HttpEncoding

    Permalink
  6. abstract def entity(): ResponseEntity

    Permalink
    Definition Classes
    HttpResponseHttpMessage
  7. abstract def getHeader[T <: HttpHeader](headerClass: Class[T]): Optional[T]

    Permalink
    Definition Classes
    HttpMessage
  8. abstract def getHeader(headerName: String): Optional[HttpHeader]

    Permalink
    Definition Classes
    HttpMessage
  9. abstract def getHeaders[T <: HttpHeader](headerClass: Class[T]): Iterable[T]

    Permalink
    Definition Classes
    HttpMessage
  10. abstract def getHeaders(): Iterable[HttpHeader]

    Permalink
    Definition Classes
    HttpMessage
  11. abstract def isRequest(): Boolean

    Permalink
    Definition Classes
    HttpMessage
  12. abstract def isResponse(): Boolean

    Permalink
    Definition Classes
    HttpMessage
  13. abstract def protocol(): HttpProtocol

    Permalink
    Definition Classes
    HttpMessage
  14. abstract def removeHeader(headerName: String): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  15. abstract def status(): StatusCode

    Permalink
  16. abstract def toStrict(timeoutMillis: Long, ec: Executor, materializer: Materializer): CompletionStage[_ <: HttpResponse]

    Permalink
    Definition Classes
    MessageTransformations
  17. abstract def transformEntityDataBytes[T](transformer: Graph[FlowShape[ByteString, ByteString], T]): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  18. abstract def withEntity(entity: ResponseEntity): HttpResponse

    Permalink
  19. abstract def withEntity(entity: RequestEntity): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  20. abstract def withEntity(type: ContentType, file: Path): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  21. abstract def withEntity(type: ContentType, file: File): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  22. abstract def withEntity(type: ContentType, bytes: ByteString): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  23. abstract def withEntity(type: ContentType, bytes: Array[Byte]): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  24. abstract def withEntity(type: NonBinary, string: String): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  25. abstract def withEntity(bytes: ByteString): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  26. abstract def withEntity(bytes: Array[Byte]): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  27. abstract def withEntity(string: String): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  28. abstract def withHeaders(headers: Iterable[HttpHeader]): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  29. abstract def withProtocol(protocol: HttpProtocol): HttpResponse

    Permalink
    Definition Classes
    MessageTransformations
  30. abstract def withStatus(statusCode: Int): HttpResponse

    Permalink
  31. abstract def withStatus(statusCode: StatusCode): HttpResponse

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to any2stringadd[HttpResponse] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (HttpResponse, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to ArrowAssoc[HttpResponse] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (HttpResponse) ⇒ Boolean, msg: ⇒ Any): HttpResponse

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to Ensuring[HttpResponse] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (HttpResponse) ⇒ Boolean): HttpResponse

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to Ensuring[HttpResponse] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): HttpResponse

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to Ensuring[HttpResponse] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): HttpResponse

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to Ensuring[HttpResponse] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to StringFormat[HttpResponse] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def [B](y: B): (HttpResponse, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpResponse to ArrowAssoc[HttpResponse] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from HttpMessage.MessageTransformations[HttpResponse]

Inherited from HttpMessage

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from HttpResponse to any2stringadd[HttpResponse]

Inherited by implicit conversion StringFormat from HttpResponse to StringFormat[HttpResponse]

Inherited by implicit conversion Ensuring from HttpResponse to Ensuring[HttpResponse]

Inherited by implicit conversion ArrowAssoc from HttpResponse to ArrowAssoc[HttpResponse]

Ungrouped