public class URLClassReplacement extends Object implements MethodReplacementClass
CONSUME_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
URLClassReplacement() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
consumeInstance() |
Class<?> |
getTargetClass()
This is an experimental implementation, not perfect yet.
|
static URLConnection |
openConnection(URL caller) |
static URLConnection |
openConnection(URL caller,
Proxy proxy) |
static void |
URL(String s,
String idTemplate) |
static void |
URL(URL context,
String s,
String idTemplate) |
static void |
URL(URL context,
String s,
URLStreamHandler handler,
String idTemplate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetClass, getTargetClassName, isAvailablepublic Class<?> getTargetClass()
getTargetClass in interface MethodReplacementClasspublic static URL consumeInstance()
public static void URL(String s, String idTemplate) throws MalformedURLException
MalformedURLExceptionpublic static void URL(URL context, String s, String idTemplate) throws MalformedURLException
MalformedURLExceptionpublic static void URL(URL context, String s, URLStreamHandler handler, String idTemplate) throws MalformedURLException
MalformedURLExceptionpublic static URLConnection openConnection(URL caller) throws IOException
IOExceptionpublic static URLConnection openConnection(URL caller, Proxy proxy) throws IOException
IOExceptionCopyright © 2016–2024. All rights reserved.