Package com.linecorp.armeria.server.docs
Class EndpointInfo
java.lang.Object
com.linecorp.armeria.server.docs.EndpointInfo
Metadata about the endpoints exposed by a
Service
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the set of available MIME types of this endpoint.static EndpointInfoBuilder
Returns a newly createdEndpointInfoBuilder
that builds theEndpointInfo
with the specifiedhostnamePattern
andpathMapping
.Returns the default MIME type of this endpoint.boolean
fragment()
Returns the URI fragment of this endpoint.int
hashCode()
Returns the hostname pattern of this endpoint.Returns the path mapping of this endpoint.Returns the prefix of this endpoint if thepathMapping()
returns a regular expression string of endpoint and the prefix exists, otherwisenull
.toString()
-
Method Details
-
builder
Returns a newly createdEndpointInfoBuilder
that builds theEndpointInfo
with the specifiedhostnamePattern
andpathMapping
. -
hostnamePattern
Returns the hostname pattern of this endpoint. -
pathMapping
Returns the path mapping of this endpoint. -
regexPathPrefix
Returns the prefix of this endpoint if thepathMapping()
returns a regular expression string of endpoint and the prefix exists, otherwisenull
. -
fragment
Returns the URI fragment of this endpoint. -
defaultMimeType
Returns the default MIME type of this endpoint. -
availableMimeTypes
Returns the set of available MIME types of this endpoint. -
hashCode
public int hashCode() -
equals
-
toString
-