|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.HttpRetryException
public class HttpRetryException
HTTP 요구를 재시행할 필요가 있지만, 스트리밍 모드가 유효하게 되어 있기 위해서(때문에) 자동적으로 재시행할 수 없는 것을 나타내기 위해서(때문에), throw 됩니다.
| 생성자 의 개요 | |
|---|---|
HttpRetryException (String detail,
int code)
지정된 응답 코드와 예외 상세 메세지로부터, 새로운 HttpRetryException 을 구축합니다. |
|
HttpRetryException (String detail,
int code,
String location)
상세 메세지, 응답 코드, 및 Location 응답 헤더 필드의 내용에 근거해, 새로운 HttpRetryException 를 구축합니다. |
|
| 메소드의 개요 | |
|---|---|
String |
getLocation ()
리디렉션이 원인으로 에러가 발생했을 경우에, Location 헤더 필드의 값을 돌려줍니다. |
String |
getReason ()
HTTP 요구를 재시행할 수 없었던 이유를 설명하는 캐릭터 라인을 돌려줍니다. |
int |
responseCode ()
HTTP 응답 코드를 돌려줍니다. |
| 클래스 java.lang. Throwable 로부터 상속된 메소드 |
|---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| 클래스 java.lang. Object 로부터 상속된 메소드 |
|---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| 생성자 의 상세 |
|---|
public HttpRetryException(String detail,
int code)
HttpRetryException 를 구축합니다.
detail - 상세 메세지code - 서버로부터의 HTTP 응답 코드
public HttpRetryException(String detail,
int code,
String location)
HttpRetryException 를 구축합니다.
detail - 상세 메세지code - 서버로부터의 HTTP 응답 코드location - 리다이렉트(redirect)처의 URL| 메소드의 상세 |
|---|
public int responseCode()
public String getReason()
public String getLocation()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.