public abstract class Call
extends java.lang.Object
These values are usually generated by the reverse router.
Constructor and Description |
---|
Call() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
absoluteURL(boolean secure,
java.lang.String host)
Transform this call to an absolute URL.
|
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(boolean secure,
java.lang.String host)
Transform this call to an WebSocket 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.
|
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 absoluteURL(boolean secure, java.lang.String host)
public java.lang.String webSocketURL(Http.Request request)
public java.lang.String webSocketURL(Http.Request request, boolean secure)
public java.lang.String webSocketURL(boolean secure, java.lang.String host)