public class RestServiceImpl extends java.lang.Object implements IRestTestService
Constructor and Description |
---|
RestServiceImpl(SecurityContext securityContext) |
Modifier and Type | Method and Description |
---|---|
byte[] |
bytearray() |
java.lang.String |
checkType(ComplexRequest value) |
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() |
public RestServiceImpl(SecurityContext securityContext)
public java.lang.String sayHello(java.lang.String helloPhrase)
sayHello
in interface IRestTestService
public java.lang.String sayHello2(java.lang.String helloPhrase)
sayHello2
in interface IRestTestService
public ComplexResponse complex(ComplexRequest request)
complex
in interface IRestTestService
public java.lang.String sayHelloPath(java.lang.String helloPhrase, java.lang.String after)
sayHelloPath
in interface IRestTestService
public void noResponse(ComplexRequest request) throws ServerFault
noResponse
in interface IRestTestService
ServerFault
public ComplexResponse noRequest()
noRequest
in interface IRestTestService
public GenericResponse<ComplexResponse> generic1(GenericResponse<ComplexRequest> req)
generic1
in interface IRestTestService
public void put(java.lang.String uid, ComplexRequest request) throws ServerFault
put
in interface IRestTestService
ServerFault
public ComplexResponse param(java.lang.String test, java.lang.Long test2, ParamEnum test3)
param
in interface IRestTestService
public ObjectWithTime putTime(ObjectWithTime time)
putTime
in interface IRestTestService
public void throwSpecificServerFault() throws ServerFault
throwSpecificServerFault
in interface IRestTestService
ServerFault
public java.lang.String sayWithQueryParams(java.lang.String lastring, int value, boolean bool)
sayWithQueryParams
in interface IRestTestService
public java.lang.String mime()
mime
in interface IRestTestService
public byte[] bytearray()
bytearray
in interface IRestTestService
public java.lang.String longInPathParam(long uid) throws ServerFault
longInPathParam
in interface IRestTestService
ServerFault
public java.lang.String checkType(ComplexRequest value)
checkType
in interface IVirtualApi<ComplexRequest>
public void throwNullpointer() throws ServerFault
throwNullpointer
in interface IRestTestService
ServerFault
public ComplexResponse nullResponse(ComplexRequest request) throws ServerFault
nullResponse
in interface IRestTestService
ServerFault
Copyright © 2021. All Rights Reserved.