Package org.onlab.junit
Class HttpResourceUrlInterceptor
- java.lang.Object
-
- org.onlab.junit.HttpResourceUrlInterceptor
-
public class HttpResourceUrlInterceptor extends Object
Intercepts HTTP URL connections and supplies predefined data from a resource. Used for supplying data to HTTP connections in unit tests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory
Creates stream handlers for the interceptor.
-
Constructor Summary
Constructors Constructor Description HttpResourceUrlInterceptor()
-