com
.
lightbend
.
lagom
.
internal
.
api
.
transport
LagomServiceApiBridge
Related Doc:
package transport
trait
LagomServiceApiBridge
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
LagomServiceApiBridge
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
abstract
type
AkkaStreamsSource
[
T
,
M
]
abstract
type
Call
[
Request
,
Response
]
abstract
type
CallId
abstract
type
Descriptor
abstract
type
ErrorCode
abstract
type
ExceptionSerializer
abstract
type
FutureType
[
T
]
abstract
type
HeaderFilter
abstract
type
MessageHeader
abstract
type
MessageProtocol
abstract
type
MessageSerializer
[
M
,
W
]
abstract
type
Method
abstract
type
NegotiatedDeserializer
[
M
,
W
]
abstract
type
NegotiatedSerializer
[
M
,
W
]
abstract
type
RawExceptionMessage
abstract
type
RequestHeader
<:
MessageHeader
abstract
type
ResponseHeader
<:
MessageHeader
abstract
type
ServiceCall
[
Request
,
Response
]
abstract
type
ServiceLocator
Abstract Value Members
abstract
def
akkaStreamsSourceAsScala
[
T
,
M
]
(
source:
AkkaStreamsSource
[
T
,
M
]
)
:
Source
[
T
,
M
]
abstract
def
callRequestSerializer
[
Request
,
W
]
(
call:
Call
[
Request
, _]
)
:
MessageSerializer
[
Request
,
W
]
abstract
def
callResponseSerializer
[
Response
,
W
]
(
call:
Call
[_,
Response
]
)
:
MessageSerializer
[
Response
,
W
]
abstract
def
descriptorExceptionSerializer
(
d:
Descriptor
)
:
ExceptionSerializer
abstract
def
descriptorHeaderFilter
(
d:
Descriptor
)
:
HeaderFilter
abstract
def
descriptorName
(
d:
Descriptor
)
:
String
abstract
def
exceptionSerializerDeserializeHttpException
(
es:
ExceptionSerializer
,
code:
Int
,
mp:
MessageProtocol
,
bytes:
ByteString
)
:
Throwable
abstract
def
exceptionSerializerDeserializeWebSocketException
(
es:
ExceptionSerializer
,
code:
Int
,
mp:
MessageProtocol
,
bytes:
ByteString
)
:
Throwable
abstract
def
exceptionSerializerSerialize
(
es:
ExceptionSerializer
,
t:
Throwable
,
accept:
Seq
[
MessageProtocol
]
)
:
RawExceptionMessage
abstract
def
headerFilterTransformClientRequest
(
hf:
HeaderFilter
,
rh:
RequestHeader
)
:
RequestHeader
abstract
def
headerFilterTransformClientResponse
(
hf:
HeaderFilter
,
resp:
ResponseHeader
,
req:
RequestHeader
)
:
ResponseHeader
abstract
def
headerFilterTransformServerRequest
(
hf:
HeaderFilter
,
rh:
RequestHeader
)
:
RequestHeader
abstract
def
headerFilterTransformServerResponse
(
hf:
HeaderFilter
,
resp:
ResponseHeader
,
req:
RequestHeader
)
:
ResponseHeader
abstract
def
messageHeaderHeaders
(
mh:
MessageHeader
)
:
Map
[
String
,
Seq
[(
String
,
String
)]]
abstract
def
messageHeaderProtocol
(
mh:
MessageHeader
)
:
MessageProtocol
abstract
def
messageProtocolCharset
(
mp:
MessageProtocol
)
:
Option
[
String
]
abstract
def
messageProtocolContentType
(
mp:
MessageProtocol
)
:
Option
[
String
]
abstract
def
messageProtocolFromContentTypeHeader
(
ct:
Option
[
String
]
)
:
MessageProtocol
abstract
def
messageProtocolIsText
(
mp:
MessageProtocol
)
:
Boolean
abstract
def
messageProtocolIsUtf8
(
mp:
MessageProtocol
)
:
Boolean
abstract
def
messageProtocolToContentTypeHeader
(
mp:
MessageProtocol
)
:
Option
[
String
]
abstract
def
messageSerializerAcceptResponseProtocols
(
ms:
MessageSerializer
[_, _]
)
:
Seq
[
MessageProtocol
]
abstract
def
messageSerializerDeserializer
[
M
,
W
]
(
ms:
MessageSerializer
[
M
,
W
]
,
mp:
MessageProtocol
)
:
NegotiatedDeserializer
[
M
,
W
]
abstract
def
messageSerializerIsStreamed
(
ms:
MessageSerializer
[_, _]
)
:
Boolean
abstract
def
messageSerializerIsUsed
(
ms:
MessageSerializer
[_, _]
)
:
Boolean
abstract
def
messageSerializerSerializerForRequest
[
M
,
W
]
(
ms:
MessageSerializer
[
M
,
W
]
)
:
NegotiatedSerializer
[
M
,
W
]
abstract
def
messageSerializerSerializerForResponse
[
M
,
W
]
(
ms:
MessageSerializer
[
M
,
W
]
,
ap:
Seq
[
MessageProtocol
]
)
:
NegotiatedSerializer
[
M
,
W
]
abstract
def
methodForCall
(
call:
Call
[_, _]
)
:
Method
abstract
def
methodName
(
m:
Method
)
:
String
abstract
def
negotiatedDeserializerDeserialize
[
M
,
W
]
(
ns:
NegotiatedDeserializer
[
M
,
W
]
,
w:
W
)
:
M
abstract
def
negotiatedSerializerProtocol
(
ns:
NegotiatedSerializer
[_, _]
)
:
MessageProtocol
abstract
def
negotiatedSerializerSerialize
[
M
,
W
]
(
ns:
NegotiatedSerializer
[
M
,
W
]
,
m:
M
)
:
W
abstract
def
newMessageProtocol
(
ct:
Option
[
String
]
,
cs:
Option
[
String
]
,
v:
Option
[
String
]
)
:
MessageProtocol
abstract
def
newMethod
(
name:
String
)
:
Method
abstract
def
newPayloadTooLarge
(
msg:
String
)
:
Throwable
abstract
def
newPolicyViolation
(
msg:
String
,
detail:
String
)
:
Throwable
abstract
def
newRawExceptionMessage
(
errorCode:
ErrorCode
,
protocol:
MessageProtocol
,
message:
ByteString
)
:
RawExceptionMessage
abstract
def
newRequestHeader
(
method:
Method
,
uri:
URI
,
requestProtocol:
MessageProtocol
,
acceptResponseProtocols:
Seq
[
MessageProtocol
]
,
servicePrincipal:
Option
[
Principal
]
,
headers:
Map
[
String
,
Seq
[(
String
,
String
)]]
)
:
RequestHeader
abstract
def
newResponseHeader
(
code:
Int
,
mp:
MessageProtocol
,
headers:
Map
[
String
,
Seq
[(
String
,
String
)]]
)
:
ResponseHeader
abstract
def
newServicePrincipal
(
serviceName:
String
)
:
Principal
abstract
def
newTransportException
(
errorCode:
ErrorCode
,
message:
String
)
:
Exception
abstract
def
rawExceptionMessageErrorCode
(
rem:
RawExceptionMessage
)
:
ErrorCode
abstract
def
rawExceptionMessageMessage
(
rem:
RawExceptionMessage
)
:
ByteString
abstract
def
rawExceptionMessageMessageAsText
(
rem:
RawExceptionMessage
)
:
String
abstract
def
rawExceptionMessageToResponseHeader
(
rem:
RawExceptionMessage
)
:
ResponseHeader
abstract
def
rawExceptionMessageWebSocketCode
(
rem:
RawExceptionMessage
)
:
Int
abstract
def
requestHeaderAcceptedResponseProtocols
(
rh:
RequestHeader
)
:
Seq
[
MessageProtocol
]
abstract
def
requestHeaderMethod
(
rh:
RequestHeader
)
:
String
abstract
def
requestHeaderUri
(
rh:
RequestHeader
)
:
URI
abstract
def
responseHeaderIsDefault
(
rh:
ResponseHeader
)
:
Boolean
abstract
def
responseHeaderStatus
(
rh:
ResponseHeader
)
:
Int
abstract
def
responseHeaderWithProtocol
(
rh:
ResponseHeader
,
mp:
MessageProtocol
)
:
ResponseHeader
abstract
def
serviceLocatorDoWithService
[
T
]
(
serviceLocator:
ServiceLocator
,
descriptor:
Descriptor
,
call:
Call
[_, _]
,
block: (
URI
) ⇒
Future
[
T
]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
T
]]
abstract
def
toAkkaStreamsSource
[
T
,
M
]
(
source:
Source
[
T
,
M
]
)
:
AkkaStreamsSource
[
T
,
M
]
Concrete 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
(
...
)
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
AnyRef
Inherited from
Any
Ungrouped