Package com.arcadedb.server.http.handler
Class GetDynamicContentHandler
- java.lang.Object
-
- com.arcadedb.server.http.handler.AbstractServerHttpHandler
-
- com.arcadedb.server.http.handler.GetDynamicContentHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class GetDynamicContentHandler extends AbstractServerHttpHandler
-
-
Field Summary
-
Fields inherited from class com.arcadedb.server.http.handler.AbstractServerHttpHandler
httpServer
-
-
Constructor Summary
Constructors Constructor Description GetDynamicContentHandler(HttpServer httpServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionResponse
execute(io.undertow.server.HttpServerExchange exchange, ServerSecurityUser user)
boolean
isRequireAuthentication()
Returns true if the handler require authentication to be executed, any valid user.protected String
templating(io.undertow.server.HttpServerExchange exchange, String file, Map<String,Object> variables)
-
Methods inherited from class com.arcadedb.server.http.handler.AbstractServerHttpHandler
authenticate, checkRootUser, createResult, decode, encodeError, error2json, getQueryParameter, getQueryParameter, handleRequest, mustExecuteOnWorkerThread, parseRequestPayload
-
-
-
-
Constructor Detail
-
GetDynamicContentHandler
public GetDynamicContentHandler(HttpServer httpServer)
-
-
Method Detail
-
isRequireAuthentication
public boolean isRequireAuthentication()
Description copied from class:AbstractServerHttpHandler
Returns true if the handler require authentication to be executed, any valid user. False means the handler can be executed without authentication.- Overrides:
isRequireAuthentication
in classAbstractServerHttpHandler
-
execute
public ExecutionResponse execute(io.undertow.server.HttpServerExchange exchange, ServerSecurityUser user) throws Exception
- Specified by:
execute
in classAbstractServerHttpHandler
- Throws:
Exception
-
templating
protected String templating(io.undertow.server.HttpServerExchange exchange, String file, Map<String,Object> variables) throws IOException
- Throws:
IOException
-
-