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()
HttpHandler
getUriSpecification
in interface HttpHandler
public void setUriSpecification(String s)
setUriSpecification
in interface HttpHandler
public void onHttpRequest(ParsedHttpRequest parsedHttpRequest, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
onHttpRequest
in interface HttpHandler
IOException
javax.servlet.ServletException
Copyright © 2017 The Apache Software Foundation. All rights reserved.