|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.rest.client.RestletUtil
public class RestletUtil
Utility functions (static public methods) used to support Restlet framework.
| Field Summary | |
|---|---|
static org.restlet.data.CharacterSet |
FORM_CHARACTER_SET
|
| Constructor Summary | |
|---|---|
RestletUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getFormAsQueryString(org.restlet.data.Form form)
The method form.getQueryString() is buggy, since it may create queryString with parameter without '=' character. |
static java.lang.String |
getUrl(org.restlet.data.Request request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.restlet.data.CharacterSet FORM_CHARACTER_SET
| Constructor Detail |
|---|
public RestletUtil()
| Method Detail |
|---|
public static java.lang.String getFormAsQueryString(org.restlet.data.Form form)
form - a org.restlet.data.Form instance
public static java.lang.String getUrl(org.restlet.data.Request request)
request - A Restlet request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||