@CompileStatic class AnsiConsoleUrlMappingsRenderer extends Object implements UrlMappingsRenderer
Renders URL mappings to the console
Modifiers | Name | Description |
---|---|---|
static String |
DEFAULT_ACTION |
Type | Name and description |
---|---|
boolean |
isAnsiEnabled |
PrintStream |
targetStream |
Constructor and description |
---|
AnsiConsoleUrlMappingsRenderer(PrintStream targetStream) |
AnsiConsoleUrlMappingsRenderer() |
Type Params | Return Type | Name and description |
---|---|---|
|
String |
bold(String text) |
|
String |
endBar() |
|
String |
error(String errorCode) |
|
protected String |
establishUrlPattern(UrlMapping urlMapping, boolean withAnsi, int padding) |
|
static String |
getPadding(String padding, int length) |
|
String |
header(String text) |
|
String |
header(String text, String description) |
|
protected String |
padAnsi(String ansiString, String nonAnsiString, int padding) |
|
void |
render(List<UrlMapping> urlMappings) |
|
String |
variable(String name, boolean withAnsi) |
|
String |
yellowBar() |