azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

170 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils"
name: "RequestResponseUtils"
nameWithType: "RequestResponseUtils"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **RequestResponseUtils**"
constructors:
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.RequestResponseUtils()"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.RequestResponseUtils()"
name: "RequestResponseUtils()"
nameWithType: "RequestResponseUtils.RequestResponseUtils()"
syntax: "public RequestResponseUtils()"
methods:
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromPropertyBag(java.lang.String,java.util.Map,java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout)"
name: "createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout)"
nameWithType: "RequestResponseUtils.createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout)"
modifiers:
- "static"
parameters:
- name: "operation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "propertyBag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public static Message createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout)"
returns:
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromPropertyBag(java.lang.String,java.util.Map,java.time.Duration,java.lang.String)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout, String associatedLinkName)"
name: "createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout, String associatedLinkName)"
nameWithType: "RequestResponseUtils.createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout, String associatedLinkName)"
modifiers:
- "static"
parameters:
- name: "operation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "propertyBag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- name: "associatedLinkName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static Message createRequestMessageFromPropertyBag(String operation, Map propertyBag, Duration timeout, String associatedLinkName)"
returns:
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromValueBody(java.lang.String,java.lang.Object,java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.createRequestMessageFromValueBody(String operation, Object valueBody, Duration timeout)"
name: "createRequestMessageFromValueBody(String operation, Object valueBody, Duration timeout)"
nameWithType: "RequestResponseUtils.createRequestMessageFromValueBody(String operation, Object valueBody, Duration timeout)"
modifiers:
- "static"
parameters:
- name: "operation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "valueBody"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public static Message createRequestMessageFromValueBody(String operation, Object valueBody, Duration timeout)"
returns:
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.encodeRuleDescriptionToMap(com.microsoft.azure.servicebus.rules.RuleDescription)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.encodeRuleDescriptionToMap(RuleDescription ruleDescription)"
name: "encodeRuleDescriptionToMap(RuleDescription ruleDescription)"
nameWithType: "RequestResponseUtils.encodeRuleDescriptionToMap(RuleDescription ruleDescription)"
modifiers:
- "static"
parameters:
- name: "ruleDescription"
type: "<xref href=\"com.microsoft.azure.servicebus.rules.RuleDescription?alt=com.microsoft.azure.servicebus.rules.RuleDescription&text=RuleDescription\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Map<String,Object> encodeRuleDescriptionToMap(RuleDescription ruleDescription)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.generateExceptionFromError(org.apache.qpid.proton.amqp.Symbol,java.lang.String)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.generateExceptionFromError(Symbol errorCondition, String exceptionMessage)"
name: "generateExceptionFromError(Symbol errorCondition, String exceptionMessage)"
nameWithType: "RequestResponseUtils.generateExceptionFromError(Symbol errorCondition, String exceptionMessage)"
modifiers:
- "static"
parameters:
- name: "errorCondition"
type: "<xref href=\"org.apache.qpid.proton.amqp.Symbol?alt=org.apache.qpid.proton.amqp.Symbol&text=Symbol\" data-throw-if-not-resolved=\"False\" />"
- name: "exceptionMessage"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static Exception generateExceptionFromError(Symbol errorCondition, String exceptionMessage)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.genereateExceptionFromResponse(org.apache.qpid.proton.message.Message)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.genereateExceptionFromResponse(Message responseMessage)"
name: "genereateExceptionFromResponse(Message responseMessage)"
nameWithType: "RequestResponseUtils.genereateExceptionFromResponse(Message responseMessage)"
modifiers:
- "static"
parameters:
- name: "responseMessage"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Exception genereateExceptionFromResponse(Message responseMessage)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseBody(org.apache.qpid.proton.message.Message)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseBody(Message responseMessage)"
name: "getResponseBody(Message responseMessage)"
nameWithType: "RequestResponseUtils.getResponseBody(Message responseMessage)"
modifiers:
- "static"
parameters:
- name: "responseMessage"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Map getResponseBody(Message responseMessage)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseErrorCondition(org.apache.qpid.proton.message.Message)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseErrorCondition(Message responseMessage)"
name: "getResponseErrorCondition(Message responseMessage)"
nameWithType: "RequestResponseUtils.getResponseErrorCondition(Message responseMessage)"
modifiers:
- "static"
parameters:
- name: "responseMessage"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Symbol getResponseErrorCondition(Message responseMessage)"
returns:
type: "<xref href=\"org.apache.qpid.proton.amqp.Symbol?alt=org.apache.qpid.proton.amqp.Symbol&text=Symbol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseStatusCode(org.apache.qpid.proton.message.Message)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseStatusCode(Message responseMessage)"
name: "getResponseStatusCode(Message responseMessage)"
nameWithType: "RequestResponseUtils.getResponseStatusCode(Message responseMessage)"
modifiers:
- "static"
parameters:
- name: "responseMessage"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static int getResponseStatusCode(Message responseMessage)"
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseStatusDescription(org.apache.qpid.proton.message.Message)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseUtils.getResponseStatusDescription(Message responseMessage)"
name: "getResponseStatusDescription(Message responseMessage)"
nameWithType: "RequestResponseUtils.getResponseStatusDescription(Message responseMessage)"
modifiers:
- "static"
parameters:
- name: "responseMessage"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static String getResponseStatusDescription(Message responseMessage)"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
metadata: {}
package: "com.microsoft.azure.servicebus.primitives"
artifact: com.microsoft.azure:azure-servicebus:3.6.7