Package com.linecorp.armeria.server.docs
Class ServiceInfo
java.lang.Object
com.linecorp.armeria.server.docs.ServiceInfo
Metadata about a
Service
.-
Constructor Summary
ConstructorDescriptionServiceInfo(String name, Iterable<MethodInfo> methods)
Creates a new instance.ServiceInfo(String name, Iterable<MethodInfo> methods, @Nullable String docString)
Creates a new instance.ServiceInfo(String name, Iterable<MethodInfo> methods, Iterable<HttpHeaders> exampleHeaders, @Nullable String docString)
Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the documentation string.boolean
Returns the example HTTP headers of the service.Returns all enum, struct and exceptionTypeSignature
s referred to by this service.int
hashCode()
methods()
Returns the metadata about the methods available in the service.name()
Returns the fully qualified type name of the service.toString()
-
Constructor Details
-
ServiceInfo
Creates a new instance. -
ServiceInfo
public ServiceInfo(String name, Iterable<MethodInfo> methods, @Nullable @Nullable String docString)Creates a new instance. -
ServiceInfo
public ServiceInfo(String name, Iterable<MethodInfo> methods, Iterable<HttpHeaders> exampleHeaders, @Nullable @Nullable String docString)Creates a new instance.
-
-
Method Details
-
name
Returns the fully qualified type name of the service. -
methods
Returns the metadata about the methods available in the service. -
findNamedTypes
Returns all enum, struct and exceptionTypeSignature
s referred to by this service. -
docString
Returns the documentation string. -
exampleHeaders
Returns the example HTTP headers of the service. -
equals
-
hashCode
public int hashCode() -
toString
-