| public class java.net HttpRetryException
|
Java SE 6 |
| version | 1.2, 11/17/05 |
| since | 1.5 |
| Constructors | |||||||
|---|---|---|---|---|---|---|---|
| public | HttpRetryException(String detail, int code) Details
Constructs a new HttpRetryException from the
specified response code and exception detail message
| ||||||
| public | HttpRetryException(String detail, int code, String location) Details
Constructs a new HttpRetryException with detail message
responseCode and the contents of the Location response header field.
| ||||||
| Methods | |||
|---|---|---|---|
| public int | responseCode() Details
Returns the http response code
| ||
| Properties | |||
|---|---|---|---|
| public String | getLocation() Details
Returns the value of the Location header field if the
error resulted from redirection.
| ||
| public String | getReason() Details
Returns a string explaining why the http request could
not be retried.
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|