public class ApiExceptionRequestHandler extends Object implements IRequestHandler
Constructor and Description |
---|
ApiExceptionRequestHandler() |
Modifier and Type | Method and 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.
|
public String processUrl(String url)
processUrl
in interface IRequestHandler
url
- The URL.public void beforeSend(HttpURLConnection connection, OutputStream streamToSend)
beforeSend
in interface IRequestHandler
connection
- The connection.streamToSend
- The stream to send.public void processResponse(HttpURLConnection connection, byte[] resultData) throws Exception
processResponse
in interface IRequestHandler
connection
- The connection.resultStream
- The result data.Exception
IOException
Copyright © 2019 Aspose Pty Ltd. All rights reserved.