@Path(value="/build/maven/")
@RequestScoped
public class MavenRestHandler
extends javax.ws.rs.core.Application
| Constructor and Description |
|---|
MavenRestHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
get()
Endpoint to know the version of the available Maven
|
void |
postAsync(javax.ws.rs.container.AsyncResponse ar,
String projectRepo,
String mavenRepoPath,
String settingsXmlPath)
Endpoint to ask an async build
|
@GET @Produces(value="text/plain") public String get()
@POST
@Produces(value="application/octet-stream")
public void postAsync(@Suspended
javax.ws.rs.container.AsyncResponse ar,
@HeaderParam(value="project")
String projectRepo,
@HeaderParam(value="mavenrepo")
String mavenRepoPath,
@HeaderParam(value="settings_xml")
String settingsXmlPath)
throws Exception
ExceptionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.