@Path(value="/test") public interface IRestTestService extends IVirtualApi<ComplexRequest>
Modifier and Type | Method and Description |
---|---|
void |
blackHole()
This method blocks
|
byte[] |
bytearray() |
ComplexResponse |
complex(ComplexRequest request) |
GenericResponse<ComplexResponse> |
generic1(GenericResponse<ComplexRequest> req) |
java.lang.String |
longInPathParam(long uid) |
java.lang.String |
mime() |
ComplexResponse |
noRequest() |
void |
noResponse(ComplexRequest request) |
ComplexResponse |
nullResponse(ComplexRequest request) |
ComplexResponse |
param(java.lang.String test,
java.lang.Long test2,
ParamEnum test3) |
void |
put(java.lang.String uid,
ComplexRequest request) |
ObjectWithTime |
putTime(ObjectWithTime time) |
java.lang.String |
sayHello(java.lang.String helloPhrase) |
java.lang.String |
sayHello2(java.lang.String helloPhrase) |
java.lang.String |
sayHelloPath(java.lang.String helloPhrase,
java.lang.String after) |
java.lang.String |
sayWithQueryParams(java.lang.String lastring,
int value,
boolean bool) |
void |
throwNullpointer() |
void |
throwSpecificServerFault() |
checkType
@GET @Path(value="queryparams") java.lang.String sayWithQueryParams(@QueryParam(value="lastring") java.lang.String lastring, @QueryParam(value="leint") int value, @QueryParam(value="lebool") boolean bool)
@GET @Path(value="{before}/hello") java.lang.String sayHello(@PathParam(value="before") java.lang.String helloPhrase) throws ServerFault
ServerFault
@POST @Path(value="hello2") java.lang.String sayHello2(java.lang.String helloPhrase) throws ServerFault
ServerFault
@POST @Path(value="complexe") ComplexResponse complex(ComplexRequest request) throws ServerFault
ServerFault
@GET @Path(value="{before}/{inPath}") java.lang.String sayHelloPath(@PathParam(value="before") java.lang.String helloPhrase, @PathParam(value="inPath") java.lang.String after) throws ServerFault
ServerFault
@POST @Path(value="voidResponse") void noResponse(ComplexRequest request)
@POST @Path(value="gloryHole") void blackHole()
@POST @Path(value="nullResponse") ComplexResponse nullResponse(ComplexRequest request) throws ServerFault
ServerFault
@POST @Path(value="voidRequest") ComplexResponse noRequest() throws ServerFault
ServerFault
@POST @Path(value="generic/1") GenericResponse<ComplexResponse> generic1(GenericResponse<ComplexRequest> req) throws ServerFault
ServerFault
@PUT @Path(value="{uid}") void put(@PathParam(value="uid") java.lang.String uid, ComplexRequest request) throws ServerFault
ServerFault
@GET @Path(value="queryParam") ComplexResponse param(@QueryParam(value="param1") java.lang.String test, @QueryParam(value="param2") java.lang.Long test2, @QueryParam(value="param3") ParamEnum test3) throws ServerFault
ServerFault
@PUT @Path(value="dateTime") ObjectWithTime putTime(ObjectWithTime time) throws ServerFault
ServerFault
@POST @Path(value="throwSpecificServerFault") void throwSpecificServerFault() throws ServerFault
ServerFault
@POST @Path(value="throwNullpointer") void throwNullpointer() throws ServerFault
ServerFault
@GET @Path(value="mime") @Produces(value="application/binary") java.lang.String mime() throws ServerFault
ServerFault
@GET @Path(value="bytearray") @Produces(value="application/binary") byte[] bytearray() throws ServerFault
ServerFault
@GET @Path(value="longinparam/{uid}") java.lang.String longInPathParam(@PathParam(value="uid") long uid) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.