public enum IcapError extends Enum<IcapError>
Enum Constant and Description |
---|
ICAP_ARGUMENT_ERROR
ICAP Client has wrong parameter
|
ICAP_CANT_CONNECT
Cannot connect to ICAP server
|
ICAP_FILE_LENGTH_ERROR
ICAP Client has a too big file
|
ICAP_INTERNAL_ERROR
ICAP Client has an internal error
|
ICAP_NETWORK_ERROR
Network error during communication with ICAP Server
|
ICAP_SERVER_HEADER_EXCEED_CAPACITY
ICAP Server sends a too big header
|
ICAP_SERVER_HEADER_WITHOUT_TERMINATOR
ICAP Server sends a header without terminator
|
ICAP_SERVER_MISSING_INFO
ICAP Server response missed some information
|
ICAP_SERVER_RESPONSE_CLOSE
Not used: ICAP Server closed connection while reading response
|
ICAP_SERVER_RESPONSE_RESET
Not used: ICAP Server reset connection while reading response
|
ICAP_SERVER_SERVICE_UNKNOWN
Service is unknown by the ICAP Server
|
ICAP_SERVER_UNEXPECTED_CLOSE
Not used: ICAP Server closed connection as ICAP client wrote body preview
|
ICAP_SERVER_UNEXPECTED_CLOSE_204
Not used: ICAP Server closed connection on 204 without 'Connection: close' header
|
ICAP_SERVER_UNKNOWN_CODE
ICAP Server sent unknown response code
|
ICAP_TIMEOUT_ERROR
ICAP network operation has a timeout
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getMessage() |
static IcapError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IcapError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IcapError ICAP_CANT_CONNECT
public static final IcapError ICAP_SERVER_RESPONSE_CLOSE
public static final IcapError ICAP_SERVER_RESPONSE_RESET
public static final IcapError ICAP_SERVER_UNKNOWN_CODE
public static final IcapError ICAP_SERVER_UNEXPECTED_CLOSE_204
public static final IcapError ICAP_SERVER_UNEXPECTED_CLOSE
public static final IcapError ICAP_SERVER_MISSING_INFO
public static final IcapError ICAP_NETWORK_ERROR
public static final IcapError ICAP_SERVER_HEADER_WITHOUT_TERMINATOR
public static final IcapError ICAP_SERVER_HEADER_EXCEED_CAPACITY
public static final IcapError ICAP_SERVER_SERVICE_UNKNOWN
public static final IcapError ICAP_INTERNAL_ERROR
public static final IcapError ICAP_ARGUMENT_ERROR
public static final IcapError ICAP_TIMEOUT_ERROR
public static final IcapError ICAP_FILE_LENGTH_ERROR
public static IcapError[] values()
for (IcapError c : IcapError.values()) System.out.println(c);
public static IcapError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getCode()
public final String getMessage()
Copyright © 2009–2022 Waarp. All rights reserved.