Class HttpRequestEncoder
java.lang.Object
com.netscape.cmscore.connector.HttpRequestEncoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
HttpRequestEncoder
public HttpRequestEncoder()
-
-
Method Details
-
encode
Description copied from interface:IRequestEncoderEncodes a request object.- Specified by:
encodein interfaceIRequestEncoder- Parameters:
r- Object to serve as the source of the message.- Returns:
- String containing encoded message.
- Throws:
IOException- Failure of the encoding operation due to IO error.
-
decode
Description copied from interface:IRequestEncoderDncodes a String into an object.- Specified by:
decodein interfaceIRequestEncoder- Returns:
- Object which is the result of the decoded message.
- Throws:
IOException- Failure of the decoding operation due to IO error.
-