public final class HttpServerReefEventHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
HttpServerReefEventHandler(ReefEventStateManager reefStateManager,
Set<EventHandler<Void>> clientCloseHandlers,
String logLevel,
LoggingScopeFactory loggingScopeFactory,
REEFFileNames reefFileNames) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUriSpecification()
return specification of the handler.
|
void |
onHttpRequest(ParsedHttpRequest parsedHttpRequest,
javax.servlet.http.HttpServletResponse response)
Event handler that is called when receiving a http request.
|
void |
setUriSpecification(String s)
set URI specification.
|
@Inject public HttpServerReefEventHandler(ReefEventStateManager reefStateManager, Set<EventHandler<Void>> clientCloseHandlers, String logLevel, LoggingScopeFactory loggingScopeFactory, REEFFileNames reefFileNames)
public String getUriSpecification()
HttpHandlergetUriSpecification in interface HttpHandlerpublic void setUriSpecification(String s)
setUriSpecification in interface HttpHandlerpublic void onHttpRequest(ParsedHttpRequest parsedHttpRequest, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
onHttpRequest in interface HttpHandlerIOExceptionjavax.servlet.ServletExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.