Package com.arcadedb.server.http.handler
Class PostBeginHandler
- java.lang.Object
-
- com.arcadedb.server.http.handler.AbstractServerHttpHandler
-
- com.arcadedb.server.http.handler.DatabaseAbstractHandler
-
- com.arcadedb.server.http.handler.PostBeginHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class PostBeginHandler extends DatabaseAbstractHandler
-
-
Field Summary
-
Fields inherited from class com.arcadedb.server.http.handler.AbstractServerHttpHandler
httpServer
-
-
Constructor Summary
Constructors Constructor Description PostBeginHandler(HttpServer httpServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionResponse
execute(io.undertow.server.HttpServerExchange exchange, ServerSecurityUser user, Database database)
protected boolean
mustExecuteOnWorkerThread()
Returns true if the handler is reading the payload in the request.protected boolean
requiresTransaction()
-
Methods inherited from class com.arcadedb.server.http.handler.DatabaseAbstractHandler
execute, requiresDatabase, setTransactionInThreadLocal
-
Methods inherited from class com.arcadedb.server.http.handler.AbstractServerHttpHandler
authenticate, checkRootUser, createResult, decode, encodeError, error2json, getQueryParameter, getQueryParameter, handleRequest, isRequireAuthentication, parseRequestPayload
-
-
-
-
Constructor Detail
-
PostBeginHandler
public PostBeginHandler(HttpServer httpServer)
-
-
Method Detail
-
execute
public ExecutionResponse execute(io.undertow.server.HttpServerExchange exchange, ServerSecurityUser user, Database database) throws IOException
- Specified by:
execute
in classDatabaseAbstractHandler
- Throws:
IOException
-
requiresTransaction
protected boolean requiresTransaction()
- Overrides:
requiresTransaction
in classDatabaseAbstractHandler
-
mustExecuteOnWorkerThread
protected boolean mustExecuteOnWorkerThread()
Description copied from class:AbstractServerHttpHandler
Returns true if the handler is reading the payload in the request. In this case, the execution is delegated to the worker thread.- Overrides:
mustExecuteOnWorkerThread
in classAbstractServerHttpHandler
-
-