public class SendMessageOptions extends BaseHttpRequestOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
SendMessageOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
SendMessageOptions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
SendMessageOptions |
clone() |
SendMessageOptions |
delaySeconds(Integer delaySeconds)
The number of seconds to delay a specific message.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
public SendMessageOptions delaySeconds(Integer delaySeconds)
delaySeconds
- from 0 to 900 (15 minutes). If this parameter is not used, the
default value for the queue applies.public com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public SendMessageOptions clone()
public boolean equals(Object obj)
equals
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.