Package com.redwood.scheduler.api.soap
Class HTTPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.redwood.scheduler.api.soap.HTTPException
-
- All Implemented Interfaces:
Serializable
public final class HTTPException extends IOException
An error during HTTP parsing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPException(int newResponseCodeInt, String newResponseLine)HTTPException(Throwable cause, int newResponseCodeInt, String newResponseLine)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetResponseCode()Get the HTTP response codeStringgetResponseLine()Get the HTTP response line, or the first line of the response if it could not be parsed.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HTTPException
public HTTPException(int newResponseCodeInt, String newResponseLine)
-
HTTPException
@Deprecated(since="2025.3", forRemoval=true) public HTTPException(Throwable cause, int newResponseCodeInt, String newResponseLine)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getResponseCode
public int getResponseCode()
Get the HTTP response code- Returns:
- the code.
-
getResponseLine
public String getResponseLine()
Get the HTTP response line, or the first line of the response if it could not be parsed.- Returns:
- the response.
-
-