Package io.continual.services.rcvr
Class ReceiverApi<I extends Identity>
java.lang.Object
io.continual.http.app.servers.endpoints.JsonIoEndpoint
io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint<I>
io.continual.services.rcvr.ReceiverApi<I>
public class ReceiverApi<I extends Identity>
extends io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint<I>
Handle inbound user events.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint
io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint.ApiHandler<I extends Identity>, io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint.Authenticator<I extends Identity>, io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint.ResourceAccessNested classes/interfaces inherited from class io.continual.http.app.servers.endpoints.JsonIoEndpoint
io.continual.http.app.servers.endpoints.JsonIoEndpoint.MissingInputException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intstatic final StringFields inherited from class io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint
kContinualProductTag, kContinualSystemsGroup, kDefault_AuthLineHeader, kDefault_DateLineHeader, kDefault_MagicLineHeader, kSetting_AuthLineHeader, kSetting_ContinualProductTag, kSetting_DateLineHeader, kSetting_MagicLineHeader -
Constructor Summary
ConstructorsConstructorDescriptionReceiverApi(io.continual.services.ServiceContainer sc, org.json.JSONObject prefs) -
Method Summary
Modifier and TypeMethodDescriptionvoidpostEvents(CHttpRequestContext context) voidpostEvents(CHttpRequestContext context, String topic) voidpostEvents(CHttpRequestContext context, String topic, String eventStreamName) voidusage(CHttpRequestContext context) Methods inherited from class io.continual.http.app.servers.endpoints.TypicalRestApiEndpoint
canUser, getAcctsSvcName, getInternalAccts, getUser, handleWithApiAuth, handleWithApiAuthAndAccess, makeResourceMethods inherited from class io.continual.http.app.servers.endpoints.JsonIoEndpoint
readBody, readJsonObject, readJsonString, sendJson, sendJson, sendNotAuth, sendStatusCodeAndMessage, sendStatusOk, sendStatusOk, sendStatusOkNoContent
-
Field Details
-
kSetting_MaxSenderStreamSize
- See Also:
-
kDefault_MaxSenderStreamSize
public static final int kDefault_MaxSenderStreamSize- See Also:
-
DEFAULT_TOPIC
- See Also:
-
DEFAULT_PARTITION
- See Also:
-
-
Constructor Details
-
ReceiverApi
public ReceiverApi(io.continual.services.ServiceContainer sc, org.json.JSONObject prefs) throws io.continual.builder.Builder.BuildFailure - Throws:
io.continual.builder.Builder.BuildFailure
-
-
Method Details
-
usage
-
postEvents
-
postEvents
-
postEvents
-