Package | Description |
---|---|
net.morimekta.providence | |
net.morimekta.providence.serializer |
Modifier and Type | Method and Description |
---|---|
default <Request extends PMessage<Request>,Response extends PMessage<Response>> |
PProcessor.handleCall(PServiceCall<Request> call)
Handle a service call.
|
<Request extends PMessage<Request>,Response extends PMessage<Response>> |
PServiceCallHandler.handleCall(PServiceCall<Request> call,
PService service)
Handle a service call.
|
Modifier and Type | Method and Description |
---|---|
default <Request extends PMessage<Request>,Response extends PMessage<Response>> |
PProcessor.handleCall(PServiceCall<Request> call)
Handle a service call.
|
<Request extends PMessage<Request>,Response extends PMessage<Response>> |
PServiceCallHandler.handleCall(PServiceCall<Request> call,
PService service)
Handle a service call.
|
void |
PServiceCallInstrumentation.onComplete(double duration,
PServiceCall<?> call,
PServiceCall<?> reply)
After each service call this method is called with the duration, call and
response objects.
|
void |
PServiceCallInstrumentation.onComplete(double duration,
PServiceCall<?> call,
PServiceCall<?> reply)
After each service call this method is called with the duration, call and
response objects.
|
default void |
PServiceCallInstrumentation.onTransportException(Exception e,
double duration,
PServiceCall<?> call,
PServiceCall<?> reply)
Called when the service call failed in the transport layer itself with something
not related to the actual service call.
|
default void |
PServiceCallInstrumentation.onTransportException(Exception e,
double duration,
PServiceCall<?> call,
PServiceCall<?> reply)
Called when the service call failed in the transport layer itself with something
not related to the actual service call.
|
Modifier and Type | Method and Description |
---|---|
<Message extends PMessage<Message>> |
UrlEncodedSerializer.deserialize(InputStream input,
PService service) |
abstract <Message extends PMessage<Message>> |
Serializer.deserialize(InputStream input,
PService service)
Deserialize a service call.
|
<Message extends PMessage<Message>> |
FastBinarySerializer.deserialize(InputStream is,
PService service) |
<Message extends PMessage<Message>> |
BinarySerializer.deserialize(InputStream is,
PService service) |
<Message extends PMessage<Message>> |
PrettySerializer.deserialize(InputStream input,
PService service) |
<T extends PMessage<T>> |
JsonSerializer.deserialize(InputStream input,
PService service) |
Modifier and Type | Method and Description |
---|---|
<Message extends PMessage<Message>> |
UrlEncodedSerializer.serialize(OutputStream output,
PServiceCall<Message> call) |
abstract <Message extends PMessage<Message>> |
Serializer.serialize(OutputStream output,
PServiceCall<Message> call)
Serialize a service call.
|
<Message extends PMessage<Message>> |
FastBinarySerializer.serialize(OutputStream os,
PServiceCall<Message> call) |
<Message extends PMessage<Message>> |
BinarySerializer.serialize(OutputStream os,
PServiceCall<Message> call) |
<Message extends PMessage<Message>> |
PrettySerializer.serialize(OutputStream out,
PServiceCall<Message> call) |
<T extends PMessage<T>> |
JsonSerializer.serialize(OutputStream output,
PServiceCall<T> call) |
Copyright © 2015–2020 morimekta.net. All rights reserved.