Package org.helm.rest

Class RestCalculation


  • @Path("/Calculation")
    public class RestCalculation
    extends Object
    RestCalculation
    Author:
    hecht
    • Constructor Detail

      • RestCalculation

        public RestCalculation()
    • Method Detail

      • calculateMolecularWeight

        @Path("/MolecularWeight/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response calculateMolecularWeight​(@PathParam("c")
                                                                  String helmNotation)
      • calculateMolecularWeightPost

        @Path("/MolecularWeight")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateMolecularWeightPost​(@FormParam("HELMNotation")
                                                                      String helm)
      • calculateMolecularFormula

        @Path("/MolecularFormula/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response calculateMolecularFormula​(@PathParam("c")
                                                                   String helmNotation)
      • calculateMolecularFormulaPost

        @Path("/MolecularFormula")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateMolecularFormulaPost​(@FormParam("HELMNotation")
                                                                       String helm)
      • calculateExtinctionCoefficient

        @Path("/ExtinctionCoefficient/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response calculateExtinctionCoefficient​(@PathParam("c")
                                                                        String helmNotation)
      • calculateExtinctionCoefficientPost

        @Path("/ExtinctionCoefficient")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateExtinctionCoefficientPost​(@FormParam("HELMNotation")
                                                                            String helm)
      • calculateCombined

        @Path("/MoleculeProperties/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateCombined​(@PathParam("c")
                                                           String helm)
      • calculateCombinedPost

        @Path("/MoleculeProperties")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateCombinedPost​(@FormParam("HELMNotation")
                                                               String helm)
      • calculateFingerprint

        @Path("/Fingerprints/original/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateFingerprint​(@PathParam("c")
                                                              String helm)
      • calculateFingerprintPut

        @Path("/Fingerprints/original")
        @PUT
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateFingerprintPut​(@FormParam("HELMNotation")
                                                                 String helm)
      • calculateFingerprintNaturalAnalogs

        @Path("/Fingerprints/naturalAnalogs/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateFingerprintNaturalAnalogs​(@PathParam("c")
                                                                            String helm)
      • calculateFingerprintNaturalAnalogsPut

        @Path("/Fingerprints/naturalAnalogs")
        @PUT
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateFingerprintNaturalAnalogsPut​(@FormParam("HELMNotation")
                                                                               String helm)
      • calculateSimilarity

        @Path("/Similarity/original/{c}/{v}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateSimilarity​(@PathParam("c")
                                                             String helm1,
                                                             @PathParam("v")
                                                             String helm2)
      • calculateSimilarityPut

        @Path("/Similarity/original")
        @PUT
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateSimilarityPut​(@FormParam("HELMNotation1")
                                                                String helm1,
                                                                @FormParam("HELMNotation2")
                                                                String helm2)
      • calculateSimilarityNaturalAnalogs

        @Path("/Similarity/naturalAnalogs/{c}/{v}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateSimilarityNaturalAnalogs​(@PathParam("c")
                                                                           String helm1,
                                                                           @PathParam("v")
                                                                           String helm2)
      • calculateSimilarityNaturalAnalogsPut

        @Path("/Similarity/naturalAnalogs")
        @PUT
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response calculateSimilarityNaturalAnalogsPut​(@FormParam("HELMNotation1")
                                                                              String helm1,
                                                                              @FormParam("HELMNotation2")
                                                                              String helm2)
      • checkSubstructureRelationship

        @Path("/Substructure/{c}/{v}")
        @GET
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response checkSubstructureRelationship​(@PathParam("c")
                                                                       String parentHelm,
                                                                       @PathParam("v")
                                                                       String childHelm)
      • checkSubstructureRelationshipPut

        @Path("/Substructure")
        @PUT
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response checkSubstructureRelationshipPut​(@FormParam("parentNotation")
                                                                          String parentHelm,
                                                                          @FormParam("childNotation")
                                                                          String childHelm)