@Path(value="remote/calculation") @Produces(value="application/xml") public class CalculationResource extends Object
| Constructor and Description |
|---|
CalculationResource() |
| Modifier and Type | Method and Description |
|---|---|
Calculation |
calculation(String from,
String to) |
@GET
@ManagedAsync
@Path(value="/from/{from}/to/{to}")
public Calculation calculation(@PathParam(value="from") @DefaultValue(value="Moon")
String from,
@PathParam(value="to")
String to)
Copyright © 2007-2016, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.