public class PublicUrlGenerator extends Object
| Constructor and Description |
|---|
PublicUrlGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generate(javax.servlet.http.HttpServletRequest request)
Generates Eureka!'s best guess at the public URL.
|
public static String generate(javax.servlet.http.HttpServletRequest request)
request - the HttpServletRequest, from which the port is
extracted. If null, the port is assumed to be 80.Copyright © 2012–2021 Emory University. All rights reserved.