package util
- Source
- package.scala
- Alphabetic
- By Inheritance
- util
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
class
CaseInsensitiveString extends CharSequence with Ordered[CaseInsensitiveString]
A String wrapper such that two strings
x
andy
are equal ifx.value.equalsIgnoreCase(y.value)
-
trait
Renderable extends Any
Mixin that makes a type writable by a Writer without needing a Renderer instance
-
trait
Renderer[T] extends AnyRef
A type class that describes how to efficiently render a type
A type class that describes how to efficiently render a type
- T
the type which will be rendered
-
final
case class
SegmentWriter(toByteSegment: Segment[Byte, Unit] = Segment.empty[Byte], charset: java.nio.charset.Charset = StandardCharsets.UTF_8) extends Writer with Product with Serializable
Writer that will result in a
Segment
Writer that will result in a
Segment
- toByteSegment
initial
Segment
-
class
StringWriter extends Writer
Writer that will result in a
String
-
trait
Writer extends AnyRef
Efficiently accumulate Renderable representations
-
type
CaseInsensitiveStringOps = StringOps
- Annotations
- @deprecated
- Deprecated
(Since version 0.16) Moved to org.http4s.syntax.StringOps
-
type
CaseInsensitiveStringSyntax = StringSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.16) Moved to org.http4s.syntax.StringSyntax
-
type
ExitCode = fs2.StreamApp.ExitCode
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M7) Use fs2.StreamApp.ExitCode instead
-
type
NonEmptyListSyntax = syntax.NonEmptyListSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M5) Moved to org.http4s.syntax.NonEmptyListSyntax
-
type
StreamApp[F[_]] = fs2.StreamApp[F]
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M7) Use fs2.StreamApp instead
Value Members
-
def
bug(message: String): AssertionError
Constructs an assertion error with a reference back to our issue tracker.
Constructs an assertion error with a reference back to our issue tracker. Use only with head hung low.
- def decode[F[_]](charset: Charset): Pipe[F, Byte, String]
-
def
encodeHex(data: Array[Byte]): Array[Char]
Encode a string to a Hexadecimal string representation Adapted from apache commons Hex.encodeHex
- def hashLower(s: String): Int
- object CaseInsensitiveString extends CaseInsensitiveStringInstances
- object Renderable
- object Renderer
- object StringWriter
- object Writer
- object execution
- object threads
Deprecated Value Members
-
val
ExitCode: fs2.StreamApp.ExitCode.type
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M7) Use fs2.StreamApp.ExitCode instead
-
val
TrampolineExecutionContext: ExecutionContextExecutor
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M2) Moved to org.http4s.execution.trampoline, is now merely a ExecutionContextExecutor.
-
object
nonEmptyList extends NonEmptyListSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M5) Moved to org.http4s.syntax.nonEmptyList
-
object
string extends StringSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.16) Moved to org.http4s.syntax.string