public class TestGLLookup
extends java.lang.Object
Constructor and Description |
---|
TestGLLookup() |
Modifier and Type | Method and Description |
---|---|
protected java.net.HttpURLConnection |
getHttpConnection(java.lang.String uri,
boolean isGet,
boolean isJson) |
protected byte[] |
readData(java.net.HttpURLConnection con2) |
void |
setAuth(java.lang.String user,
java.lang.String pwd,
java.net.HttpURLConnection con) |
void |
testLookup()
Test for CLOSE.
|
void |
testLookup2() |
public void testLookup2() throws java.lang.Exception
java.lang.Exception
public void testLookup() throws java.lang.Exception
java.lang.Exception
protected java.net.HttpURLConnection getHttpConnection(java.lang.String uri, boolean isGet, boolean isJson) throws MXException, java.io.IOException
MXException
java.io.IOException
protected byte[] readData(java.net.HttpURLConnection con2) throws java.io.IOException
java.io.IOException
public void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con)