public final class SchemeDefaultPortMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEME_FTP
The scheme for HTTP
|
static String |
SCHEME_HTTP
The scheme for HTTP
|
static String |
SCHEME_HTTPS
The scheme for HTTPS
|
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.collection.impl.ICommonsMap<String,Integer> |
getAll() |
static int |
getDefaultPort(String sSchemeName,
int nDefault) |
static int |
getDefaultPortOrInvalid(String sSchemeName) |
static int |
getDefaultPortOrThrow(String sSchemeName) |
static void |
registerDefaultPort(String sSchemeName,
int nPort) |
public static final String SCHEME_FTP
public static final String SCHEME_HTTP
public static final String SCHEME_HTTPS
public static void registerDefaultPort(@Nonnull @Nonempty String sSchemeName, @Nonnegative int nPort)
Copyright © 2016–2019 Philip Helger. All rights reserved.