public final class HttpServerReefEventHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
HttpServerReefEventHandler(ReefEventStateManager reefStateManager,
Set<EventHandler<Void>> clientCloseHandlers,
String logLevel,
LoggingScopeFactory loggingScopeFactory,
REEFFileNames reefFileNames,
InjectionFuture<ProgressProvider> progressProvider) |
| 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, InjectionFuture<ProgressProvider> progressProvider)
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 © 2017 The Apache Software Foundation. All rights reserved.