@Path(value="/Calculation") public class RestCalculation extends Object
| Constructor and Description |
|---|
RestCalculation() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
calculateCombined(String helm) |
javax.ws.rs.core.Response |
calculateCombinedPost(String helm) |
javax.ws.rs.core.Response |
calculateExtinctionCoefficient(String helmNotation) |
javax.ws.rs.core.Response |
calculateExtinctionCoefficientPost(String helm) |
javax.ws.rs.core.Response |
calculateMolecularFormula(String helmNotation) |
javax.ws.rs.core.Response |
calculateMolecularFormulaPost(String helm) |
javax.ws.rs.core.Response |
calculateMolecularWeight(String helmNotation) |
javax.ws.rs.core.Response |
calculateMolecularWeightPost(String helm) |
@Path(value="/MolecularWeight/{c}")
@GET
@Produces(value="application/json")
@Consumes(value="application/json")
public javax.ws.rs.core.Response calculateMolecularWeight(@PathParam(value="c")
String helmNotation)
@Path(value="/MolecularWeight")
@POST
@Produces(value="application/json")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response calculateMolecularWeightPost(@FormParam(value="HELMNotation")
String helm)
@Path(value="/MolecularFormula/{c}")
@GET
@Produces(value="application/json")
@Consumes(value="application/json")
public javax.ws.rs.core.Response calculateMolecularFormula(@PathParam(value="c")
String helmNotation)
@Path(value="/MolecularFormula")
@POST
@Produces(value="application/json")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response calculateMolecularFormulaPost(@FormParam(value="HELMNotation")
String helm)
@Path(value="/ExtinctionCoefficient/{c}")
@GET
@Produces(value="application/json")
@Consumes(value="application/json")
public javax.ws.rs.core.Response calculateExtinctionCoefficient(@PathParam(value="c")
String helmNotation)
@Path(value="/ExtinctionCoefficient")
@POST
@Produces(value="application/json")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response calculateExtinctionCoefficientPost(@FormParam(value="HELMNotation")
String helm)
@Path(value="/MoleculeProperties/{c}")
@GET
@Produces(value="application/json")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response calculateCombined(@PathParam(value="c")
String helm)
@Path(value="/MoleculeProperties")
@POST
@Produces(value="application/json")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response calculateCombinedPost(@FormParam(value="HELMNotation")
String helm)
Copyright © 2018. All rights reserved.