public interface HTTPSourceHandler extends Configurable
Modifier and Type | Method and Description |
---|---|
List<Event> |
getEvents(javax.servlet.http.HttpServletRequest request)
Takes an HttpServletRequest and returns a list of Flume
Events.
|
configure
List<Event> getEvents(javax.servlet.http.HttpServletRequest request) throws HTTPBadRequestException, Exception
request
- The request to be parsed into Flume events.HTTPBadRequestException
- If the was not parsed correctly into an
event because the request was not in the expected format.Exception
- If there was an unexpected error.Copyright © 2009–2019 Apache Software Foundation. All rights reserved.