Package com.linecorp.armeria.spring
Class GrpcExampleHeaders
java.lang.Object
com.linecorp.armeria.spring.GrpcExampleHeaders
@Deprecated public final class GrpcExampleHeaders extends Object
Deprecated.
Used as an example header object in
GrpcServiceRegistrationBean
.-
Method Summary
Modifier and Type Method Description HttpHeaders
getHeaders()
Deprecated.Returns the example headers of thisGrpcExampleHeaders
.String
getMethodName()
Deprecated.Returns the method name of thisGrpcExampleHeaders
.String
getServiceType()
Deprecated.Returns the service type of thisGrpcExampleHeaders
.static GrpcExampleHeaders
of(@NotNull String serviceType, @NotNull HttpHeaders headers)
static GrpcExampleHeaders
of(@NotNull String serviceType, @NotNull CharSequence name, @NotNull String value)
static GrpcExampleHeaders
of(@NotNull String serviceType, @NotNull String methodName, @NotNull HttpHeaders headers)
static GrpcExampleHeaders
of(@NotNull String serviceType, @NotNull String methodName, @NotNull CharSequence name, @NotNull String value)
String
toString()
Deprecated.
-
Method Details
-
of
@Deprecated public static GrpcExampleHeaders of(@NotNull @NotNull String serviceType, @NotNull @NotNull String methodName, @NotNull @NotNull HttpHeaders headers)Deprecated.Returns a newGrpcExampleHeaders
for the method with the specifiedserviceType
,methodName
andheaders
. -
of
@Deprecated public static GrpcExampleHeaders of(@NotNull @NotNull String serviceType, @NotNull @NotNull String methodName, @NotNull @NotNull CharSequence name, @NotNull @NotNull String value)Deprecated.Returns a newGrpcExampleHeaders
for the method with the specifiedserviceType
,methodName
,name
andvalue
. -
of
@Deprecated public static GrpcExampleHeaders of(@NotNull @NotNull String serviceType, @NotNull @NotNull HttpHeaders headers)Deprecated. -
of
@Deprecated public static GrpcExampleHeaders of(@NotNull @NotNull String serviceType, @NotNull @NotNull CharSequence name, @NotNull @NotNull String value)Deprecated. -
getServiceType
Deprecated.Returns the service type of thisGrpcExampleHeaders
. -
getMethodName
Deprecated.Returns the method name of thisGrpcExampleHeaders
. -
getHeaders
Deprecated.Returns the example headers of thisGrpcExampleHeaders
. -
toString
Deprecated.
-