Package com.linecorp.armeria.spring
Class GrpcExampleRequest
java.lang.Object
com.linecorp.armeria.spring.GrpcExampleRequest
public final class GrpcExampleRequest extends Object
Used as an example request object in
GrpcServiceRegistrationBean
.-
Method Summary
Modifier and Type Method Description Object
getExampleRequest()
Returns the example request of thisGrpcExampleRequest
.String
getMethodName()
Returns the method name of thisGrpcExampleRequest
.String
getServiceType()
Returns the service type of thisGrpcExampleRequest
.static GrpcExampleRequest
of(@NotNull String serviceType, @NotNull String methodName, @NotNull Object exampleRequest)
String
toString()
-
Method Details
-
of
public static GrpcExampleRequest of(@NotNull @NotNull String serviceType, @NotNull @NotNull String methodName, @NotNull @NotNull Object exampleRequest) -
getServiceType
Returns the service type of thisGrpcExampleRequest
. -
getMethodName
Returns the method name of thisGrpcExampleRequest
. -
getExampleRequest
Returns the example request of thisGrpcExampleRequest
. -
toString
-