| Package | Description |
|---|---|
| net.morimekta.providence | |
| net.morimekta.providence.descriptor | |
| net.morimekta.providence.serializer | |
| net.morimekta.providence.types |
| Modifier and Type | Method and Description |
|---|---|
PService |
PProcessor.getDescriptor()
Get the descriptor for the given service.
|
| Modifier and Type | Method and Description |
|---|---|
<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 |
|---|---|
PService |
PService.getExtendsService()
Get the service that this service extends.
|
PService |
PServiceProvider.getService() |
PService |
PServiceMethod.getService()
Get the service where this method is represented.
|
| 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 |
|---|---|
PService |
TypeRegistry.requireService(TypeReference reference)
Get the declared type with the given name and program context.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<PService> |
SimpleTypeRegistry.getService(TypeReference reference) |
abstract Optional<PService> |
TypeRegistry.getService(TypeReference reference)
Get a service definition from the name and program context.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
WritableTypeRegistry.registerService(PService service)
Services are not handled as "declared types", so they need to be registered
separately.
|
void |
SimpleTypeRegistry.registerService(PService service) |
Copyright © 2015–2020 morimekta.net. All rights reserved.