|
Provides functionality reading the response of a socket call.
Method Detailint getResponseCode() Returns response code Returns: int Since: 11-04-2023 String getResponseHeader(String name) Returns response header value
Parameters:
Returns: String Since: 11-04-2023 Data getResponseHeaders() Returns response headers Returns: Data Since: 11-04-2023 String getResponseMessage() Returns response message, if error. Returns: String Since: 11-04-2023 boolean isError() Returns true if request was not submitted successfully, false otherwise Returns: boolean Since: 11-04-2023 boolean isSuccess() Returns true if request was submitted successfully, false otherwise Returns: boolean Since: 11-04-2023 String readBody() Reads the response body. Returns: String Since: 11-04-2023 String toString() Returns a description of this object. Returns: String Since: 11-04-2023 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 18, 2024 01:04 PM |