Package org.onlab.junit
Class HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory
- java.lang.Object
-
- org.onlab.junit.HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory
-
- All Implemented Interfaces:
URLStreamHandlerFactory
- Enclosing class:
- HttpResourceUrlInterceptor
public static class HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory extends Object implements URLStreamHandlerFactory
Creates stream handlers for the interceptor.
-
-
Constructor Summary
Constructors Constructor Description HttpResourceUrlInterceptorFactory(String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLStreamHandler
createURLStreamHandler(String protocol)
-
-
-
Constructor Detail
-
HttpResourceUrlInterceptorFactory
public HttpResourceUrlInterceptorFactory(String resourceName)
-
-
Method Detail
-
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(String protocol)
- Specified by:
createURLStreamHandler
in interfaceURLStreamHandlerFactory
-
-