protected class StanfordCoreNLPServer.SemgrexHandler
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler
| Constructor and Description |
|---|
SemgrexHandler(java.util.function.Predicate<java.util.Properties> authenticator,
java.util.function.Consumer<StanfordCoreNLPServer.FinishedRequest> callback)
Create a new Semgrex Handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(com.sun.net.httpserver.HttpExchange httpExchange) |
public SemgrexHandler(java.util.function.Predicate<java.util.Properties> authenticator,
java.util.function.Consumer<StanfordCoreNLPServer.FinishedRequest> callback)
callback - The callback to call when annotation has finished.