Upstream class abstract

Upstream

Properties:

  • preserveHost - PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so.
  • stripPath - StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL.
  • url - URL is the URL the request will be proxied to.
Annotations
  • @BuiltValue()

Constructors

Upstream([void updates(UpstreamBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
preserveHost bool?
PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stripPath String?
StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL.
no setter
url String?
URL is the URL the request will be proxied to.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(UpstreamBuilder)) Upstream
Rebuilds the instance.
inherited
toBuilder() UpstreamBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Upstream>
no setter