org.eclipse.jetty.http
类 HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jetty.http.HttpException
- 所有已实现的接口:
- Serializable
public class HttpException
- extends IOException
- 另请参见:
- 序列化表格
HttpException
public HttpException(int status)
HttpException
public HttpException(int status,
String reason)
HttpException
public HttpException(int status,
String reason,
Throwable rootCause)
getReason
public String getReason()
- 返回:
- Returns the reason.
setReason
public void setReason(String reason)
- 参数:
reason - The reason to set.
getStatus
public int getStatus()
- 返回:
- Returns the status.
setStatus
public void setStatus(int status)
- 参数:
status - The status to set.
toString
public String toString()
- 覆盖:
- 类
Throwable 中的 toString
Copyright © 2013. All Rights Reserved.