Package com.linecorp.armeria.server.docs
Class EndpointInfo
- java.lang.Object
-
- com.linecorp.armeria.server.docs.EndpointInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<MediaType>
availableMimeTypes()
Returns the set of available MIME types of this endpoint.MediaType
defaultMimeType()
Returns the default MIME type of this endpoint.boolean
equals(Object obj)
String
fragment()
Returns the URI fragment of this endpoint.int
hashCode()
String
hostnamePattern()
Returns the hostname pattern of this endpoint.String
pathMapping()
Returns the path mapping of this endpoint.String
regexPathPrefix()
Returns the prefix of this endpoint if thepathMapping()
returns a regular expression string of endpoint and the prefix exists, otherwisenull
.String
toString()
-
-
-
Method Detail
-
hostnamePattern
public String hostnamePattern()
Returns the hostname pattern of this endpoint.
-
pathMapping
public String pathMapping()
Returns the path mapping of this endpoint.
-
regexPathPrefix
@Nullable public String regexPathPrefix()
Returns the prefix of this endpoint if thepathMapping()
returns a regular expression string of endpoint and the prefix exists, otherwisenull
.
-
fragment
@Nullable public String fragment()
Returns the URI fragment of this endpoint.
-
defaultMimeType
@Nullable public MediaType defaultMimeType()
Returns the default MIME type of this endpoint.
-
availableMimeTypes
public Set<MediaType> availableMimeTypes()
Returns the set of available MIME types of this endpoint.
-
-