public interface PushBuilder
The push builder API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionAdd the header.Get the header.Returns the header names.Returns the HTTP method.getPath()
Returns the path.Returns the query string.Returns the session id.Set the HTTP method.Set the path.void
push()
Push.queryString(String queryString)
Set the query string.removeHeader(String name)
Remove the header.Set the session id.Set the header.
-
Method Details
-
addHeader
Add the header.- Parameters:
name
- the name.value
- the value.- Returns:
- the push builder.
-
getHeader
Get the header.- Parameters:
name
- the name.- Returns:
- the value.
-
getHeaderNames
Returns the header names.- Returns:
- the header names
-
getMethod
String getMethod()Returns the HTTP method.- Returns:
- the HTTP method
-
getPath
String getPath()Returns the path.- Returns:
- the path
-
getQueryString
String getQueryString()Returns the query string.- Returns:
- the query string
-
getSessionId
String getSessionId()Returns the session id.- Returns:
- the session id
-
method
Set the HTTP method.- Parameters:
method
- the method.- Returns:
- the push builder.
-
path
Set the path.- Parameters:
path
- the path.- Returns:
- the push builder.
-
push
void push()Push. -
queryString
Set the query string.- Parameters:
queryString
- the query string.- Returns:
- the push builder.
-
removeHeader
Remove the header.- Parameters:
name
- the name.- Returns:
- the push builder.
-
sessionId
Set the session id.- Parameters:
sessionId
- the session id.- Returns:
- the push builder.
-
setHeader
Set the header.- Parameters:
name
- the name.value
- the value.- Returns:
- the push builder.
-