Package | Description |
---|---|
org.waarp.openr66.protocol.http.restv2.dbhandlers |
This package contains all the handlers processing the REST requests.
|
Modifier and Type | Method and Description |
---|---|
void |
HostsHandler.addHost(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to add a new host authentication entry to the server
database.
|
void |
RulesHandler.addRule(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to add a new transfer rule in the server database.
|
void |
TransferIdHandler.cancelTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri)
Method called to cancel a staged or running transfer.
|
void |
ServerHandler.command_options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String ep)
Method called to get a list of all allowed HTTP methods on all sub entry
points of the '/server' entry
point.
|
void |
TransfersHandler.createTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to create a new transfer on the server.
|
void |
ServerHandler.deactivate(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Deactivates the server so that it doesn't accept any new transfer
request.
|
void |
HostConfigHandler.deleteConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to delete a host's configuration entry in the database.
|
void |
HostIdHandler.deleteHost(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to delete a host entry from the database.
|
void |
LimitsHandler.deleteLimits(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to remove any bandwidth limits in place on this host.
|
void |
RuleIdHandler.deleteRule(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to delete a transfer rule from the database.
|
void |
HostsHandler.filterHosts(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String limit_str,
String offset_str,
String order_str,
String address,
String isSSL_str,
String isActive_str)
Method called to get a list of host entries from the server's database,
with optional filters applied.
|
void |
RulesHandler.filterRules(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String limitStr,
String offsetStr,
String orderStr,
String modeTransStr)
Method called to obtain a list of transfer rules based on the filters in
the query parameters.
|
void |
TransfersHandler.filterTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String limitStr,
String offsetStr,
String orderStr,
String ruleID,
String partner,
String statusStr,
String filename,
String startTrans,
String stopTrans)
Method called to obtain a list of transfer entry matching the different
filters given as parameters of the
query.
|
void |
HostConfigHandler.getConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to retrieve a host's configuration entry in the database.
|
void |
ServerHandler.getConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String hostStr,
String ruleStr,
String businessStr,
String aliasStr,
String roleStr)
Exports parts of the current server configuration to multiple XML files,
depending on the parameters of the
request.
|
void |
HostIdHandler.getHost(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to retrieve a host entry from the database with the id in
the request URI.
|
void |
LimitsHandler.getLimits(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to obtain a description of the host's current bandwidth
limits.
|
void |
ServerHandler.getLogs(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String purgeStr,
String cleanStr,
String statusStr,
String rule,
String start,
String stop,
String startID,
String stopID,
String requester)
Export the server logs to a file.
|
void |
RuleIdHandler.getRule(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to retrieve a transfer rule with the id given in the
request URI.
|
void |
ServerHandler.getStatus(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String periodStr)
Get the general status of the server.
|
void |
TransferIdHandler.getTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri)
Method called to obtain the information on the transfer whose id was
given in the request's URI.
|
void |
HostConfigHandler.initializeConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to initialize a host's configuration database entry if none
already exists.
|
void |
LimitsHandler.initializeLimits(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to initiate the entry for this host in the bandwidth limits
database.
|
void |
HostsHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
RulesHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
TransfersHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
HostConfigHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
LimitsHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
ServerHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on the '/server'
entry point.
|
void |
HostIdHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
RuleIdHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
TransferIdHandler.options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri)
Method called to get a list of all allowed HTTP methods on this entry
point.
|
void |
ServerHandler.restart(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Restart the server.
|
void |
TransferIdHandler.restartTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri)
Method called to restart a paused transfer.
|
void |
ServerHandler.setConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String purgeHostStr,
String purgeRuleStr,
String purgeBusinessStr,
String purgeAliasStr,
String purgeRoleStr,
String hostFile,
String ruleFile,
String businessFile,
String aliasFile,
String roleFile)
Imports different parts of the server configuration from the XML files
given as parameters of the request.
|
void |
ServerHandler.shutdown_options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on the
'/server/shutdown' entry point.
|
void |
ServerHandler.shutdown(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Shut down the server.
|
void |
ServerHandler.status_options(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to get a list of all allowed HTTP methods on the
'/server/status' entry point.
|
void |
TransferIdHandler.stopTransfer(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri)
Method called to pause a staged or running transfer.
|
void |
TransferIdHandler.subOptions(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String uri,
String ep) |
void |
HostConfigHandler.updateConfig(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to update a host's configuration in the database if it
exists.
|
void |
HostIdHandler.updateHost(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to update the host entry with the given id.
|
void |
LimitsHandler.updateLimits(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder)
Method called to update this host's bandwidth limits in the database and
configuration.
|
void |
RuleIdHandler.updateRule(io.netty.handler.codec.http.HttpRequest request,
io.cdap.http.HttpResponder responder,
String id)
Method called to update a transfer rule.
|
Copyright © 2009–2020 Waarp. All rights reserved.