Modifier and Type | Field and Description |
---|---|
protected int |
field |
Constructor and Description |
---|
TestResource() |
Modifier and Type | Method and Description |
---|---|
int |
getProperty() |
int |
inputs(int param) |
Object |
locator(int param) |
Object |
none(int param) |
Object |
noParams() |
void |
setProperty(int property) |
void |
setTest(int param) |
@GET @Produces(value="text/plain") @Min(value=11L) @Path(value="input/{field}/{property}/{param}") public int inputs(@Min(value=7L) @PathParam(value="param") int param)
@Min(value=5L) public int getProperty()
@PathParam(value="property") public void setProperty(int property)
@POST @Path(value="setter/{field}/{property}/{param}") public void setTest(@Min(value=7L) int param)
@Path(value="locator/{field}/{property}/{param}") @Produces(value="text/plain") public Object locator(@Min(value=11L) @PathParam(value="param") int param)
@GET @Path(value="none/{field}/{property}/{param}") @Produces(value="text/plain") public Object none(@Min(value=11L) @PathParam(value="param") int param)
@GET @Path(value="noParams/{field}/{property}") @Produces(value="text/plain") public Object noParams()
Copyright © 2016 JBoss by Red Hat. All rights reserved.