public class BaseRegistryUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static RegistryLocation |
registryLocation
Location config object.
|
Constructor and Description |
---|
BaseRegistryUtil() |
Modifier and Type | Method and Description |
---|---|
protected static String |
encode(String urlPart)
URLEncodes a string.
|
protected static String |
getRegistryBaseUrl(String app)
Returns the base url of the specified registry application.
|
protected static String |
getRegistryBaseUrl(String app,
String host,
int port) |
protected static byte[] |
getUrlContent(String url)
Reads the server reply to an url and returns it as string.
|
protected static byte[] |
getUrlContent(String url,
boolean silently) |
protected static final RegistryLocation registryLocation
protected static String encode(String urlPart)
urlPart
- string to encode.protected static String getRegistryBaseUrl(String app)
app
- protected static byte[] getUrlContent(String url)
url
- as string.protected static byte[] getUrlContent(String url, boolean silently)
Copyright © 2010-2014 anotheria.net. All Rights Reserved.