Example usage for org.apache.wicket.request Url toString

List of usage examples for org.apache.wicket.request Url toString

Introduction

In this page you can find the example usage for org.apache.wicket.request Url toString.

Prototype

public String toString(final Charset charset) 

Source Link

Document

Stringizes this url using StringMode#LOCAL and the specified charset

Usage

From source file:org.brixcms.web.util.PathLabel.java

License:Apache License

private CharSequence createCallbackUrl(String subpath) {
    Url url = Url.parse(urlFor(ILinkListener.INTERFACE).toString());
    url.addQueryParameter("path", subpath);
    return url.toString(getRequest().getCharset());
}