Class DebugLogRequestHandler
- java.lang.Object
-
- com.aspose.cad.cloud.invoker.internal.requesthandlers.DebugLogRequestHandler
-
- All Implemented Interfaces:
IRequestHandler
public class DebugLogRequestHandler extends Object implements IRequestHandler
Debug log request handler.
-
-
Constructor Summary
Constructors Constructor Description DebugLogRequestHandler(Configuration configuration)
Initializes a new instance of the DebugLogRequestHandler class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeSend(HttpURLConnection connection, OutputStream streamToSend)
Processes parameters before sending.void
processResponse(HttpURLConnection connection, byte[] resultData)
Processes the response.String
processUrl(String url)
Processes the URL.
-
-
-
Constructor Detail
-
DebugLogRequestHandler
public DebugLogRequestHandler(Configuration configuration)
Initializes a new instance of the DebugLogRequestHandler class.- Parameters:
configuration
- The configuration.
-
-
Method Detail
-
processUrl
public String processUrl(String url)
Processes the URL.- Specified by:
processUrl
in interfaceIRequestHandler
- Parameters:
url
- The URL.- Returns:
- Processed URL.
-
beforeSend
public void beforeSend(HttpURLConnection connection, OutputStream streamToSend)
Processes parameters before sending.- Specified by:
beforeSend
in interfaceIRequestHandler
- Parameters:
connection
- The connection.streamToSend
- The stream to send.
-
processResponse
public void processResponse(HttpURLConnection connection, byte[] resultData) throws IOException
Processes the response.- Specified by:
processResponse
in interfaceIRequestHandler
- Parameters:
connection
- The connection.resultData
- The result data.- Throws:
IOException
-
-