public class AuthRequestHandler extends Object implements IRequestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthRequestHandler.GetAccessTokenResult
Token access result class.
|
| Constructor and Description |
|---|
AuthRequestHandler(Configuration configuration)
Initializes a new instance of the OAuthRequestHandler class.
|
| 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 AuthRequestHandler(Configuration configuration)
configuration - The configuration.public String processUrl(String url)
processUrl in interface IRequestHandlerurl - The URL.Exceptionpublic void beforeSend(HttpURLConnection connection, OutputStream streamToSend) throws Exception
beforeSend in interface IRequestHandlerconnection - The connection.streamToSend - The stream to send.Exceptionpublic void processResponse(HttpURLConnection connection, byte[] resultData) throws IOException, Exception
processResponse in interface IRequestHandlerconnection - The connection.resultStream - The result data.IOExceptionExceptionCopyright © 2025 Aspose Pty Ltd. All rights reserved.