public abstract class EventWithContext extends Object implements Serializable
| Constructor and Description |
|---|
EventWithContext() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
getQueryParameters()
Returns the query parameters that were passed to the endpoint when this event was received.
|
boolean |
isDevelopment()
Returns whether this event is a development event or not.
|
public Map<String,String[]> getQueryParameters()
/processEvent?eventUrl=some-url&themeColor=yellow&themeColor=red would yield
a map with 2 entries: eventUrl=[some-url] and themeColor=[yellow, red].public boolean isDevelopment()
true if the event is a development event; false otherwise.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.