| Package | Description |
|---|---|
| com.linecorp.armeria.server.docs |
Documentation service.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointInfoBuilder |
EndpointInfoBuilder.availableFormats(Iterable<SerializationFormat> availableFormats)
Sets the available
SerializationFormats. |
EndpointInfoBuilder |
EndpointInfoBuilder.availableFormats(SerializationFormat... availableFormats)
Sets the available
SerializationFormats. |
EndpointInfoBuilder |
EndpointInfoBuilder.availableMimeTypes(Iterable<MediaType> availableMimeTypes)
Sets the available
MediaTypes. |
EndpointInfoBuilder |
EndpointInfoBuilder.availableMimeTypes(MediaType... availableMimeTypes)
Sets the available
MediaTypes. |
static EndpointInfoBuilder |
EndpointInfo.builder(String hostnamePattern,
String pathMapping)
Returns a newly created
EndpointInfoBuilder that builds the EndpointInfo with
the specified hostnamePattern and pathMapping. |
EndpointInfoBuilder |
EndpointInfoBuilder.defaultFormat(SerializationFormat defaultFormat)
Sets the default
SerializationFormat. |
EndpointInfoBuilder |
EndpointInfoBuilder.defaultMimeType(MediaType defaultMimeType)
Sets the default
MediaType. |
EndpointInfoBuilder |
EndpointInfoBuilder.fragment(String fragment)
Sets the fragment of the
pathMapping. |
EndpointInfoBuilder |
EndpointInfoBuilder.regexPathPrefix(String regexPathPrefix)
Sets the prefix of the pathMapping if the
pathMapping is a regular expression string and
the prefix exists. |
Copyright © 2020 LeanCloud. All rights reserved.