clairvoyance
.
proxy
RecordingHttpProxy
case class
RecordingHttpProxy
(
listenPort:
Int
,
remoteHost:
String
,
remotePort:
Int
,
from:
String
,
to:
String
,
includePaths:
Seq
[
Regex
]
,
excludePaths:
Seq
[
Regex
]
)
(
implicit
executor:
ExecutionContext
)
extends
ProducesCapturedInputsAndOutputs
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ProducesCapturedInputsAndOutputs
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
RecordingHttpProxy
Serializable
Serializable
Product
Equals
ProducesCapturedInputsAndOutputs
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
RecordingHttpProxy
(
listenPort:
Int
,
remoteHost:
String
,
remotePort:
Int
,
from:
String
,
to:
String
,
includePaths:
Seq
[
Regex
]
,
excludePaths:
Seq
[
Regex
]
)
(
implicit
executor:
ExecutionContext
)
Type Members
case class
HeadersFrom
(
response:
Response
)
extends
Responder
[
Any
] with
Product
with
Serializable
case class
ProxyResponseAndCapture
(
capture: ((
String
,
AnyRef
)) ⇒
Unit
)
extends (
Response
) ⇒
ResponseFunction
[
Any
] with
Product
with
Serializable
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
buildRequestFrom
(
req:
HttpRequest
[_]
)
:
Req
def
captureIfRequestMatches
(
path:
String
)
: ((
String
,
AnyRef
)) ⇒
Unit
def
captureValue
(
capturedValue: (
String
,
AnyRef
)
)
:
Unit
Definition Classes
ProducesCapturedInputsAndOutputs
def
clear
()
:
Unit
Definition Classes
ProducesCapturedInputsAndOutputs
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
excludePaths
:
Seq
[
Regex
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
val
from
:
String
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
includePaths
:
Seq
[
Regex
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
listenPort
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
producedCapturedInputsAndOutputs
:
List
[
CapturedValue
]
Definition Classes
ProducesCapturedInputsAndOutputs
val
remoteHost
:
String
val
remotePort
:
Int
def
requestToString
(
req:
HttpRequest
[_]
,
body:
Option
[
Array
[
Byte
]] =
None
)
:
String
def
start
()
:
Unit
def
stop
()
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
to
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
ProducesCapturedInputsAndOutputs
Inherited from
AnyRef
Inherited from
Any
Ungrouped