public abstract class UriEncoder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UriEncoder.Component |
Modifier | Constructor and Description |
---|---|
protected |
UriEncoder(UriEncoder.Component component)
Creates a new UriEncoder instance.
|
Modifier and Type | Method and Description |
---|---|
UriEncoder.Component |
getComponent()
Returns the URI component to be encoded
|
protected String |
uriEncoded(String value)
If encoding is enabled, returns the URI-coded form of the given value.
|
static String |
uriEncoded(UriEncoder.Component component,
String value)
Returns the encoded form of the given value as it would appear in the given URI component.
|
protected UriEncoder(UriEncoder.Component component)
public UriEncoder.Component getComponent()
protected String uriEncoded(String value)
public static String uriEncoded(UriEncoder.Component component, String value)
Copyright © 2024 The Cornutum Project. All rights reserved.