Package

wvlet.airframe

http

Permalink

package http

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ControllerProvider extends AnyRef

    Permalink

  2. trait ControllerProviderFromSession extends ControllerProvider with LogSupport

    Permalink
  3. class Endpoint extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  4. trait HttpClient[F[_], Req, Resp] extends AutoCloseable

    Permalink

    Asynchronous HTTP Client interface

    Asynchronous HTTP Client interface

    F

    An abstraction for Future type (e.g., Resolves the differences between Twitter Future, Scala Future, etc.)

  5. class HttpClientException extends Exception

    Permalink

  6. case class HttpClientMaxRetryException(retryContext: RetryContext, cause: Throwable) extends HttpClientException with Product with Serializable

    Permalink
  7. final class HttpMethod extends Enum[HttpMethod]

    Permalink
  8. trait HttpRequest[Req] extends AnyRef

    Permalink
  9. trait HttpRequestAdapter[Req] extends AnyRef

    Permalink

    Type class to bridge the original requests

  10. trait HttpResponse[Resp] extends AnyRef

    Permalink
  11. trait HttpResponseAdapter[Resp] extends AnyRef

    Permalink

    Type class to bridge the original response type and HttpResponse

  12. class HttpResponseCodec[Resp] extends MessageCodec[HttpResponse[_]]

    Permalink

  13. class HttpStatus extends AnyRef

    Permalink
  14. class HttpSyncClient[F[_], Req, Resp] extends AutoCloseable

    Permalink

    A synchronous HttpClient that awaits responses.

  15. trait ResponseHandler[Req, Res] extends AnyRef

    Permalink
  16. case class Route(controllerSurface: Surface, method: HttpMethod, path: String, methodSurface: ReflectMethodSurface) extends LogSupport with Product with Serializable

    Permalink

    A mapping from an HTTP route to a method with Endpoint annotation

  17. case class RouteMatch(route: Route, params: Map[String, String]) extends Product with Serializable

    Permalink
  18. trait RouteMatcher extends AnyRef

    Permalink

    Find a matching route (RouteMatch) from a given HttpRequest

  19. class Router extends AnyRef

    Permalink

    Provides mapping from HTTP requests to controller methods (= Route)

  20. case class ServerAddress(host: String, port: Int, scheme: Option[String] = None) extends Product with Serializable

    Permalink

    Server address holder

  21. case class SimpleHttpRequest(method: HttpMethod, path: String, query: Map[String, String] = Map.empty, contentString: String = "") extends HttpRequest[SimpleHttpRequest] with Product with Serializable

    Permalink
  22. case class SimpleHttpResponse(status: HttpStatus, contentString: String = "", contentType: Option[String] = None) extends HttpResponse[SimpleHttpResponse] with Product with Serializable

    Permalink

Value Members

  1. object Automaton

    Permalink
  2. object HttpClient extends LogSupport

    Permalink
  3. object HttpClientException extends LogSupport

    Permalink

    Common classifiers for HTTP client responses and exceptions in order to retry HTTP requests.

  4. object HttpStatus

    Permalink

    HTTP status code collection.

  5. object RouteMatcher extends LogSupport

    Permalink
  6. object Router extends LogSupport

    Permalink
  7. object RouterMacros

    Permalink

    Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].

    Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].

    So once you register a route for A, you don't need to call bind[A].toSingleton, etc.

  8. object ServerAddress extends LogSupport

    Permalink
  9. object SimpleHttpRequest extends Serializable

    Permalink
  10. object SimpleHttpResponse extends Serializable

    Permalink
  11. def httpDefaultDesign: Design

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped