public class HttpEventBuilderHelper extends Object implements EventBuilderHelper
HttpServletRequest.
The HttpServletRequest is retrieved from a ThreadLocal storage. This means that this builder must
be called from the thread in which the HTTP request has been handled.
| Constructor and Description |
|---|
HttpEventBuilderHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
helpBuildingEvent(EventBuilder eventBuilder)
Adds extra elements to the
EventBuilder before calling EventBuilder.build(). |
public void helpBuildingEvent(EventBuilder eventBuilder)
EventBuilderHelperEventBuilder before calling EventBuilder.build().
EventBuilderHelper are supposed to only add details to the Event before it's built. Calling the
EventBuilder.build() method from the helper will prevent the event from being built properly.
helpBuildingEvent in interface EventBuilderHelpereventBuilder - event builder to enhance before the event is built.Copyright © 2012–2014. All rights reserved.