Packages

c

org.http4s.blaze.http.parser

Http1ClientParser

abstract class Http1ClientParser extends BodyAndHeaderParser

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http1ClientParser
  2. BodyAndHeaderParser
  3. ParserBase
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Http1ClientParser()
  2. new Http1ClientParser(isLenient: Boolean)
  3. new Http1ClientParser(initialBufferSize: Int, isLenient: Boolean)
  4. new Http1ClientParser(maxResponseLineSize: Int, maxHeaderLength: Int, initialBufferSize: Int, maxChunkSize: Int, isLenient: Boolean)

Abstract Value Members

  1. abstract def headerComplete(name: String, value: String): Boolean

    This is the method called by parser when a HTTP Header name and value is found

    This is the method called by parser when a HTTP Header name and value is found

    name

    The name of the header

    value

    The value of the header

    returns

    True if the parser should return to its caller

    Attributes
    protected[parser]
    Definition Classes
    BodyAndHeaderParser
  2. abstract def submitResponseLine(code: Int, reason: String, scheme: String, majorversion: Int, minorversion: Int): Unit
    Attributes
    protected[parser]

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 arrayMatches(chars: Array[Char]): Boolean
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def bufferPosition(): Int
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  7. final def clearBuffer(): Unit
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def contentComplete(): Boolean

    Determine if the parser is in a state that is guaranteed to not produce any more body content

    Determine if the parser is in a state that is guaranteed to not produce any more body content

    Definition Classes
    BodyAndHeaderParser
  10. final def definedContentLength(): Boolean
    Definition Classes
    BodyAndHeaderParser
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def getContentType(): EndOfContent
    Definition Classes
    BodyAndHeaderParser
  16. final def getString(start: Int, end: Int): String
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  17. final def getString(end: Int): String
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  18. final def getString(): String
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  19. final def getTrimmedString(): String

    Returns the string in the buffer minus an leading or trailing whitespace or quotes

    Returns the string in the buffer minus an leading or trailing whitespace or quotes

    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def headersComplete(): Boolean
    Definition Classes
    BodyAndHeaderParser
  22. final def inChunkedHeaders(): Boolean
    Definition Classes
    BodyAndHeaderParser
  23. final def isChunked(): Boolean
    Definition Classes
    BodyAndHeaderParser
  24. final def isHeadRequest(isHeadRequest: Boolean): Unit
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def isLenient(): Boolean
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  27. final def isStartState(): Boolean
  28. def mustNotHaveBody(): Boolean

    determines if a body must not follow the headers

    determines if a body must not follow the headers

    Definition Classes
    Http1ClientParser → BodyAndHeaderParser
    Annotations
    @Override()
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def next(buffer: ByteBuffer, allow8859: Boolean): Char
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def parseContent(in: ByteBuffer): ByteBuffer

    Parses the buffer into body content

    Parses the buffer into body content

    in

    ByteBuffer to parse

    returns

    a ByteBuffer with the parsed body content. Buffer in may not be depleted. If more data is needed, null is returned. In the case of content complete, an empty ByteBuffer is returned.

    Attributes
    protected[parser]
    Definition Classes
    BodyAndHeaderParser
    Exceptions thrown
  34. final def parseHeaders(in: ByteBuffer): Boolean

    Parse headers

    Parse headers

    in

    input ByteBuffer

    returns

    true if successful, false if more input is needed

    Attributes
    protected[parser]
    Definition Classes
    BodyAndHeaderParser
    Annotations
    @SuppressWarnings()
    Exceptions thrown

    BaseExceptions.BadMessage on invalid input

    BaseExceptions.InvalidState if called when the parser is not ready to accept headers

  35. final def parseResponseLine(in: ByteBuffer): Boolean

    parses the request line.

    parses the request line. Returns true if completed successfully, false if needs input

    Attributes
    protected[parser]
    Annotations
    @SuppressWarnings()
  36. final def putChar(c: Char): Unit

    Store the char in the internal buffer

    Store the char in the internal buffer

    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  37. def reset(): Unit
    Definition Classes
    Http1ClientParser → BodyAndHeaderParser → ParserBase
    Annotations
    @Override()
  38. final def resetLimit(limit: Int): Unit
    Attributes
    protected[parser]
    Definition Classes
    ParserBase
  39. final def responseLineComplete(): Boolean
  40. def shutdownParser(): Unit

    for shutting down the parser and its state

    for shutting down the parser and its state

    Definition Classes
    Http1ClientParser → BodyAndHeaderParser → ParserBase
    Annotations
    @Override()
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BodyAndHeaderParser

Inherited from ParserBase

Inherited from AnyRef

Inherited from Any

Ungrouped