public class BLOBHandler extends Object implements HTTPSourceHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MANDATORY_PARAMETERS |
static String |
MANDATORY_PARAMETERS |
static String |
PARAMETER_SEPARATOR |
Constructor and Description |
---|
BLOBHandler() |
public static final String MANDATORY_PARAMETERS
public static final String DEFAULT_MANDATORY_PARAMETERS
public static final String PARAMETER_SEPARATOR
public List<Event> getEvents(javax.servlet.http.HttpServletRequest request) throws Exception
getEvents
in interface HTTPSourceHandler
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.public void configure(Context context)
Configurable
Request the implementing class to (re)configure itself.
When configuration parameters are changed, they must be reflected by the component asap.
There are no thread safety guarantees on when configure might be called.
configure
in interface Configurable
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.