public class AuthUrlClient extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERVER_SERVER_AUTH_TYPE |
static String |
SERVER_SERVER_CONNECTION_TIMEOUT_SECONDS |
Constructor and Description |
---|
AuthUrlClient() |
Modifier and Type | Method and Description |
---|---|
static BufferedReader |
callServer(String server)
Calls other Oozie server over HTTP.
|
static String |
getQueryParamString(Map<String,String[]> params) |
public static final String SERVER_SERVER_AUTH_TYPE
public static final String SERVER_SERVER_CONNECTION_TIMEOUT_SECONDS
public AuthUrlClient()
public static BufferedReader callServer(String server) throws IOException
server
- The URL of the other Oozie serverIOException
- Signals that an I/O exception has occurred.public static String getQueryParamString(Map<String,String[]> params) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2018 Apache Software Foundation. All rights reserved.