|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.resteasy.hypermedia.resources.ResourceDiscovery
public final class ResourceDiscovery
The discovery service for resources.
Method Summary | |
---|---|
static Resources |
createDiscovery() Returns an empty resource collection. |
static Resources |
createDiscovery(Object entity, javax.ws.rs.core.UriInfo uriInfo) Calculates the service discovery. |
static boolean |
isUnencodeSlashInPath() Returns the flag that controls whether ( true ) or not ( false ) encoded slashes in the URL paths should be unencoded. |
static void |
setUnencodeSlashInPath(boolean unencodeSlashInPath) Sets the flag that controls whether ( true ) or not ( false ) encoded slashes in the URL paths should be unencoded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isUnencodeSlashInPath()
true
) or not (
false
) encoded slashes in the URL paths should be unencoded.
public static void setUnencodeSlashInPath(boolean unencodeSlashInPath)
true
) or not (
false
) encoded slashes in the URL paths should be unencoded.
org.jboss.resteasy.links.impl.RESTUtils
does not allow to control the encoding of slashes. This method allows to unencode every URL discovered. Simply
%2F
are replaced.
unencodeSlashInPath
- the value of the flag.
public static Resources createDiscovery(Object entity, javax.ws.rs.core.UriInfo uriInfo)
entity
- the resource to analyze for link information.
uriInfo
- the helper to construct links.
public static Resources createDiscovery()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |