|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.resteasy.hypermedia.adapter.RestEasyResourceDiscovery
public final class RestEasyResourceDiscovery
A brute force adapter to access the information of RESTUtils
.
Method Summary | |
---|---|
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.
unencodeSlashInPath
- the value of the flag.
public static Resources createDiscovery(Object entity, javax.ws.rs.core.UriInfo uriInfo) throws IllegalStateException
entity
- the resource to analyze for link information.
uriInfo
- the helper to construct links.
IllegalStateException
- if the method is unable to interface with a private method of
RESTUtils
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |