@@ -44,19 +44,19 @@ public class TwilioRestResponse {
4444
4545 /** The response text. */
4646 private String responseText ;
47-
47+
4848 /** The http status. */
4949 private int httpStatus ;
50-
50+
5151 /** The url. */
5252 private String url ;
53-
53+
5454 /** The query string. */
5555 private String queryString ;
56-
56+
5757 /** The error. */
5858 private boolean error ;
59-
59+
6060 /** The content type. */
6161 private String contentType ;
6262
@@ -81,7 +81,7 @@ public TwilioRestResponse(String url, String text, int status) {
8181
8282 /**
8383 * Get the raw response body as a String
84- *
84+ *
8585 * @return the response body
8686 */
8787 public String getResponseText () {
@@ -100,7 +100,7 @@ public void setResponseText(String responseText) {
100100 /**
101101
102102 * Get the http status code associated with this response.
103- *
103+ *
104104 * @return the int value of the response status
105105 */
106106 public int getHttpStatus () {
@@ -118,7 +118,7 @@ public void setHttpStatus(int httpStatus) {
118118
119119 /**
120120 * Get the url that resulted in this response
121- *
121+ *
122122 * @return the url
123123 */
124124 public String getUrl () {
@@ -136,7 +136,7 @@ public void setUrl(String url) {
136136
137137 /**
138138 * Get the query string that resulted in this response
139- *
139+ *
140140 */
141141 public String getQueryString () {
142142 return queryString ;
@@ -153,7 +153,7 @@ public void setQueryString(String queryString) {
153153
154154 /**
155155 * Determine if this request resulted in any kind of error
156- *
156+ *
157157 * @return true if an error occured
158158 */
159159 public boolean isError () {
@@ -171,7 +171,7 @@ public void setError(boolean error) {
171171
172172 /**
173173 * Determines if the response was a client side error (HTTP 4XX status)
174- *
174+ *
175175 * @return true if this was a client error
176176 */
177177 public boolean isClientError () {
@@ -180,7 +180,7 @@ public boolean isClientError() {
180180
181181 /**
182182 * Determines if the response was a server side error (HTTP 5XX status)
183- *
183+ *
184184 * @return true if this was a server error
185185 */
186186 public boolean isServerError () {
@@ -198,7 +198,7 @@ public void setContentType(String contentType) {
198198
199199 /**
200200 * Method to determine if the response content type was a JSON type
201- *
201+ *
202202 * @return true if this looks like a JSON response
203203 */
204204 public boolean isJson () {
@@ -207,7 +207,7 @@ public boolean isJson() {
207207
208208 /**
209209 * Method to determine if the response content type was an XML type
210- *
210+ *
211211 * @return true if this looks like an XML response
212212 */
213213 public boolean isXml () {
@@ -218,7 +218,7 @@ public boolean isXml() {
218218
219219 /**
220220 * Get an appropriate response parser for this response type
221- *
221+ *
222222 * @return a response parser capable of parsing this response body.
223223 */
224224 public ResponseParser getParser () {
@@ -236,7 +236,7 @@ public ResponseParser getParser() {
236236 * Helper method to convert the response to a canonical object map. This
237237 * method will use the appropriate parser to map the response body to a Map
238238 * of elements.
239- *
239+ *
240240 * @return a normalized Map of objects. Repeated elements are List values,
241241 * sub-objects are Map values. All other types are String values.
242242 */
0 commit comments