public class EdalJettyServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EDAL_PATH_SEPARATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
EdalJettyServer(EdalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static URL |
generateMethodURL(String ticket,
int reviewerCode,
EdalHttpFunctions method)
Generate an
URL to a ticket for the given method. |
static URL |
generateReviewerURL(URL entityURL,
int reviewersCode)
Generate an
URL to access a
PrimaryDataEntity
as reviewer over a temporal landing page. |
static URL |
getServerURL()
Get the
URL of the HTTP server. |
protected void |
start()
Start the eDAL
Server. |
protected void |
stop()
Stop the eDAL
Server. |
public static final String EDAL_PATH_SEPARATOR
protected EdalJettyServer(EdalConfiguration configuration)
protected void start()
Server.protected void stop()
Server.public static URL getServerURL() throws EdalException
URL of the HTTP server.URL of the HTTP server.EdalException - if no HTTP server was started.public static URL generateMethodURL(String ticket, int reviewerCode, EdalHttpFunctions method) throws EdalException
URL to a ticket for the given method.ticket - the ticket to the method.reviewerCode - the code to identify the reviewer.method - the method for this URL.PublicReference
.EdalException - if unable to generate an URL.public static URL generateReviewerURL(URL entityURL, int reviewersCode) throws EdalException
URL to access a
PrimaryDataEntity
as reviewer over a temporal landing page.entityURL - the normal URL to this
PrimaryDataEntity
.reviewersCode - the code to identify the reviewerURL to access the landing page for the reviewer.EdalExceptionCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.