@Path(value="/") @ApplicationScoped public class MetricAppBeanOptional extends Object
Constructor and Description |
---|
MetricAppBeanOptional() |
@GET @Path(value="/get-noparam") public String getNoParam() throws Exception
Exception
@OPTIONS @Path(value="/options-noparam") public String optionsNoParam() throws Exception
Exception
@HEAD @Path(value="/head-noparam") public String headNoParam() throws Exception
Exception
@PUT @Path(value="/put-noparam") public String putNoParam() throws Exception
Exception
@POST @Path(value="/post-noparam") public String postNoParam() throws Exception
Exception
@DELETE @Path(value="/delete-noparam") public String deleteNoParam() throws Exception
Exception
@GET @Path(value="/get-single-string-param") public String getSingleStringParam(@QueryParam(value="qp1") String v1) throws Exception
Exception
@GET @Path(value="/get-single-int-param") public String getSingleIntParam(@QueryParam(value="qp1") int v1) throws Exception
Exception
@GET @Path(value="/get-single-double-param") public String getSingleDoubleParam(@QueryParam(value="qp1") double v1) throws Exception
Exception
@GET @Path(value="/get-single-long-param") public String getSingleLongParam(@QueryParam(value="qp1") long v1) throws Exception
Exception
@GET @Path(value="/get-single-boolean-param") public String getSingleBooleanParam(@QueryParam(value="qp1") boolean v1) throws Exception
Exception
@GET @Path(value="/get-context-params") public String getContextParams(@Context jakarta.ws.rs.core.HttpHeaders httpheaders, @Context jakarta.ws.rs.core.Request request, @Context jakarta.ws.rs.core.UriInfo uriInfo, @Context jakarta.ws.rs.container.ResourceContext resourceContext, @Context jakarta.ws.rs.ext.Providers providers, @Context jakarta.ws.rs.core.Application application, @Context jakarta.ws.rs.core.SecurityContext securityContext, @Context jakarta.ws.rs.core.Configuration configuration) throws Exception
Exception
@GET @Path(value="/get-list-param1") public String getListParam1(@QueryParam(value="qp1") List<String> v1) throws Exception
Exception
@GET @Path(value="/get-list-param2") public String getListParam2(@QueryParam(value="qp1") List<Integer> v1) throws Exception
Exception
@GET @Path(value="/get-list-param3") public String getListParam3(@QueryParam(value="qp1") List<Double> v1, @QueryParam(value="qp2") List<Long> v2) throws Exception
Exception
@GET @Path(value="/get-multiple-param1") public String getMultipleParam1(@QueryParam(value="qp1") boolean v1, @QueryParam(value="qp2") int v2, @QueryParam(value="qp3") double v3, @QueryParam(value="qp4") String v4, @QueryParam(value="qp5") long v5) throws Exception
Exception
@GET @Path(value="/get-multiple-param2") public String getMultipleParam2(@QueryParam(value="qp1") String v1, @QueryParam(value="qp2") List<String> v2) throws Exception
Exception
@GET @Path(value="/get-multiple-param4") public String getMultipleParam4(@QueryParam(value="qp1") Set<String> v1, @QueryParam(value="qp2") SortedSet<Integer> v2) throws Exception
Exception
@GET @Path(value="/get-name-object") public String getNameObject(@QueryParam(value="qp1") NameObject v1) throws Exception
Exception
@GET @Path(value="/get-async") public void getAsync(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse) throws Exception
Exception
@POST @Path(value="/post-multiple-param1") public String postMultipleParam1(@QueryParam(value="qp1") boolean v1, @QueryParam(value="qp2") int v2, @QueryParam(value="qp3") double v3, @QueryParam(value="qp4") String v4, @QueryParam(value="qp5") long v5) throws Exception
Exception
@POST @Path(value="/post-multiple-param2") public String postMultipleParam2(@QueryParam(value="qp1") String v1, @QueryParam(value="qp2") List<String> v2) throws Exception
Exception
@POST @Path(value="/post-multiple-param4") public String postMultipleParam4(@QueryParam(value="qp1") Set<String> v1, @QueryParam(value="qp2") SortedSet<Integer> v2) throws Exception
Exception
@GET @Path(value="/get-mapped-arithmetic-exception") public String getMappedArithException() throws Exception
Exception
@POST @Path(value="/post-mapped-arithmetic-exception") public String postMappedArithException() throws Exception
Exception
@GET @Path(value="/get-unmapped-exception") public String getUnmappedArithException() throws Exception
Exception
Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.