Fabric8 :: IANA Service Helper

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Группа

Группа

io.fabric8
Идентификатор

Идентификатор

ianaservicehelper
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Fabric8 :: IANA Service Helper
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Ссылка на сайт

Ссылка на сайт

http://fabric8.io/
Организация-разработчик

Организация-разработчик

Red Hat
Система контроля версий

Система контроля версий

http://github.com/fabric8io/ianaservicehelper/

Скачать ianaservicehelper

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.fabric8/ianaservicehelper/ -->
<dependency>
    <groupId>io.fabric8</groupId>
    <artifactId>ianaservicehelper</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.fabric8/ianaservicehelper/
implementation 'io.fabric8:ianaservicehelper:0.0.1'
// https://jarcasting.com/artifacts/io.fabric8/ianaservicehelper/
implementation ("io.fabric8:ianaservicehelper:0.0.1")
'io.fabric8:ianaservicehelper:jar:0.0.1'
<dependency org="io.fabric8" name="ianaservicehelper" rev="0.0.1">
  <artifact name="ianaservicehelper" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.fabric8', module='ianaservicehelper', version='0.0.1')
)
libraryDependencies += "io.fabric8" % "ianaservicehelper" % "0.0.1"
[io.fabric8/ianaservicehelper "0.0.1"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

IANA Service HelperJoin the chat at https://gitter.im/fabric8io/users

license Maven Central Javadocs CircleCI Dependency Status

This utility provides a means to look up IANA registered services either by port or service name. The IANA registered services are embedded in a Map inside the JAR so no external connection is required. Maps are lazily initialized to ensure it's only allocated as used.

Usage

Look up service ports by service name:

Set<PortAndProtocol> ports = Helper.servicePorts("http");

Look up a service port by service name and protocol:

PortAndProtocol port = Helper.servicePort("http", "tcp");

Look up a service port by service name (protocol defaults to "tcp"):

PortAndProtocol port = Helper.servicePort("http");

Lookup service names by port and protocol:

Set<String> services = Helper.serviceNames(80, "tcp");

Lookup service names by port (protocol defaults to "tcp"):

Set<String> services = Helper.serviceNames(80);
io.fabric8

fabric8

open source development platform for kubernetes

Версии библиотеки

Версия
0.0.1