|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.mvc.Call
public abstract class Call
Defines a 'call', describing an HTTP request. For example used to create links or populate redirect data.
These values are usually generated by the reverse router.
Constructor Summary | |
---|---|
Call()
|
Method Summary | |
---|---|
java.lang.String |
absoluteURL(Http.Request request)
Transform this call to an absolute URL. |
java.lang.String |
absoluteURL(Http.Request request,
boolean secure)
Transform this call to an absolute URL. |
abstract java.lang.String |
method()
The request HTTP method. |
Call |
unique()
Append a unique identifier to the URL. |
abstract java.lang.String |
url()
The request URL. |
java.lang.String |
webSocketURL(Http.Request request)
Transform this call to an WebSocket URL. |
java.lang.String |
webSocketURL(Http.Request request,
boolean secure)
Transform this call to an WebSocket URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Call()
Method Detail |
---|
public abstract java.lang.String url()
public abstract java.lang.String method()
public Call unique()
public java.lang.String absoluteURL(Http.Request request)
public java.lang.String absoluteURL(Http.Request request, boolean secure)
public java.lang.String webSocketURL(Http.Request request)
public java.lang.String webSocketURL(Http.Request request, boolean secure)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |