im
.
actor
.
server
.
webhooks
.
http
.
routes
WebhooksHttpHandler
Related Doc:
package routes
final
class
WebhooksHttpHandler
extends
HttpHandler
with
OutgoingHooks
with
IngoingHooks
with
TokenStatus
Linear Supertypes
TokenStatus
,
IngoingHooks
,
ContentUnmarshaller
,
OutgoingHooks
,
PlayJsonSupport
,
ReverseHookUnmarshaler
,
HttpHandler
,
HttpApiHelpers
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
WebhooksHttpHandler
TokenStatus
IngoingHooks
ContentUnmarshaller
OutgoingHooks
PlayJsonSupport
ReverseHookUnmarshaler
HttpHandler
HttpApiHelpers
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
WebhooksHttpHandler
()
(
implicit
system:
ActorSystem
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
corsHeaders
:
List
[
ModeledHeader
with
Product
]
Definition Classes
HttpApiHelpers
def
defaultVersion
(
route:
Route
)
:
Route
Definition Classes
HttpApiHelpers
implicit
val
ec
:
ExecutionContext
Attributes
protected
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findHook
(
token:
String
,
id:
Int
)
:
Future
[
Option
[
Int
]]
Definition Classes
OutgoingHooks
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
ingoing
:
Route
Definition Classes
IngoingHooks
val
integrationTokensKv
:
SimpleKeyValue
[
Int
]
Attributes
protected
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
list
(
token:
String
)
:
Future
[
Xor
[(
StatusCode
,
String
),
Seq
[
ReverseHookResponse
]]]
Definition Classes
OutgoingHooks
val
log
:
LoggingAdapter
Attributes
protected
implicit
val
materializer
:
Materializer
Definition Classes
WebhooksHttpHandler
→ ContentUnmarshaller → ReverseHookUnmarshaler
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
outgoing
:
Route
Definition Classes
OutgoingHooks
implicit
def
playJsValueMarshaller
(
implicit
printer: (
JsValue
) ⇒
String
)
:
ToEntityMarshaller
[
JsValue
]
Definition Classes
PlayJsonSupport
implicit
def
playJsValueUnmarshaller
:
FromEntityUnmarshaller
[
JsValue
]
Definition Classes
PlayJsonSupport
implicit
def
playJsonMarshaller
[
A
]
(
implicit
writes:
Writes
[
A
]
,
printer: (
JsValue
) ⇒
String
)
:
ToEntityMarshaller
[
A
]
Definition Classes
PlayJsonSupport
implicit
def
playJsonMarshallerConverter
[
A
]
(
writes:
Writes
[
A
]
)
(
implicit
printer: (
JsValue
) ⇒
String
)
:
ToEntityMarshaller
[
A
]
Definition Classes
PlayJsonSupport
implicit
def
playJsonUnmarshaller
[
A
]
(
implicit
reads:
Reads
[
A
]
)
:
FromEntityUnmarshaller
[
A
]
Definition Classes
PlayJsonSupport
implicit
def
playJsonUnmarshallerConverter
[
A
]
(
reads:
Reads
[
A
]
)
:
FromEntityUnmarshaller
[
A
]
Definition Classes
PlayJsonSupport
def
register
(
token:
String
,
uri:
String
)
:
Future
[
Xor
[(
StatusCode
,
String
),
Int
]]
Definition Classes
OutgoingHooks
def
routes
:
Route
Definition Classes
WebhooksHttpHandler
→ HttpHandler
def
send
(
content:
Content
,
token:
String
)
:
Future
[
Either
[
StatusCode
,
Unit
]]
Definition Classes
IngoingHooks
def
status
:
Route
Definition Classes
TokenStatus
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
implicit
val
system
:
ActorSystem
implicit
val
timeout
:
Timeout
implicit
val
toContent
:
FromRequestUnmarshaller
[
Content
]
Definition Classes
ContentUnmarshaller
implicit
val
toReverseHook
:
FromRequestUnmarshaller
[
ReverseHook
]
Definition Classes
ReverseHookUnmarshaler
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unregister
(
token:
String
,
id:
Int
)
:
Future
[
Xor
[(
StatusCode
,
String
),
Unit
]]
Definition Classes
OutgoingHooks
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
TokenStatus
Inherited from
IngoingHooks
Inherited from
ContentUnmarshaller
Inherited from
OutgoingHooks
Inherited from
PlayJsonSupport
Inherited from
ReverseHookUnmarshaler
Inherited from
HttpHandler
Inherited from
HttpApiHelpers
Inherited from
AnyRef
Inherited from
Any
Ungrouped