@groovy.transform.CompileStatic class AnsiConsoleUrlMappingsRenderer extends java.lang.Object implements UrlMappingsRenderer
Renders URL mappings to the console
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_ACTION |
Type | Name and description |
---|---|
boolean |
isAnsiEnabled |
java.io.PrintStream |
targetStream |
Constructor and description |
---|
AnsiConsoleUrlMappingsRenderer
(java.io.PrintStream targetStream) |
AnsiConsoleUrlMappingsRenderer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
bold(java.lang.String text) |
|
java.lang.String |
endBar() |
|
java.lang.String |
error(java.lang.String errorCode) |
|
protected java.lang.String |
establishUrlPattern(UrlMapping urlMapping, boolean withAnsi, int padding) |
|
static java.lang.String |
getPadding(java.lang.String padding, int length) |
|
java.lang.String |
header(java.lang.String text) |
|
java.lang.String |
header(java.lang.String text, java.lang.String description) |
|
protected java.lang.String |
padAnsi(java.lang.String ansiString, java.lang.String nonAnsiString, int padding) |
|
void |
render(java.util.List<UrlMapping> urlMappings) |
|
java.lang.String |
variable(java.lang.String name, boolean withAnsi) |
|
java.lang.String |
yellowBar() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation