You can download mock-http-server-4.0.jar in this page.
Apache 2
mock-http-server-4.0.jar file has the following types.
META-INF/MANIFEST.MF META-INF/maven/com.github.kristofa/mock-http-server/pom.properties META-INF/maven/com.github.kristofa/mock-http-server/pom.xml com.github.kristofa.test.http.AbstractHttpRequestMatchingFilter.class com.github.kristofa.test.http.AbstractHttpResponseProvider.class com.github.kristofa.test.http.AllExceptContentTypeHeaderFilter.class com.github.kristofa.test.http.AllExceptOriginalHeadersFilter.class com.github.kristofa.test.http.ContentMatcher.class com.github.kristofa.test.http.DefaultContentMatcher.class com.github.kristofa.test.http.DefaultHttpResponseProvider.class com.github.kristofa.test.http.DefaultHttpResponseProxy.class com.github.kristofa.test.http.ForwardHttpRequestBuilder.class com.github.kristofa.test.http.FullHttpRequest.class com.github.kristofa.test.http.FullHttpRequestImpl.class com.github.kristofa.test.http.HttpMessageHeader.class com.github.kristofa.test.http.HttpMessageHeaderField.class com.github.kristofa.test.http.HttpRequest.class com.github.kristofa.test.http.HttpRequestImpl.class com.github.kristofa.test.http.HttpRequestMatchingContext.class com.github.kristofa.test.http.HttpRequestMatchingContextImpl.class com.github.kristofa.test.http.HttpRequestMatchingFilter.class com.github.kristofa.test.http.HttpRequestResponseLogger.class com.github.kristofa.test.http.HttpRequestResponseLoggerFactory.class com.github.kristofa.test.http.HttpResponse.class com.github.kristofa.test.http.HttpResponseImpl.class com.github.kristofa.test.http.HttpResponseProvider.class com.github.kristofa.test.http.HttpResponseProxy.class com.github.kristofa.test.http.LoggingHttpProxy.class com.github.kristofa.test.http.MediaType.class com.github.kristofa.test.http.Method.class com.github.kristofa.test.http.MockAndProxyFacade.class com.github.kristofa.test.http.MockHttpServer.class com.github.kristofa.test.http.PassthroughForwardHttpRequestBuilder.class com.github.kristofa.test.http.PassthroughLoggingHttpProxy.class com.github.kristofa.test.http.QueryParameter.class com.github.kristofa.test.http.RequestConvertor.class com.github.kristofa.test.http.SimpleHttpResponseProvider.class com.github.kristofa.test.http.UnexpectedContentException.class com.github.kristofa.test.http.UnsatisfiedExpectationException.class com.github.kristofa.test.http.client.ApacheHttpClientImpl.class com.github.kristofa.test.http.client.ApacheHttpClientResponseImpl.class com.github.kristofa.test.http.client.CustomHttpClient.class com.github.kristofa.test.http.client.GetException.class com.github.kristofa.test.http.client.HttpClient.class com.github.kristofa.test.http.client.HttpClientResponse.class com.github.kristofa.test.http.client.HttpRequestException.class com.github.kristofa.test.http.client.PostException.class com.github.kristofa.test.http.client.PutException.class com.github.kristofa.test.http.file.FileHttpResponseProvider.class com.github.kristofa.test.http.file.FileHttpResponseProxy.class com.github.kristofa.test.http.file.FileNameBuilder.class com.github.kristofa.test.http.file.HttpRequestFileReader.class com.github.kristofa.test.http.file.HttpRequestFileReaderImpl.class com.github.kristofa.test.http.file.HttpRequestFileWriter.class com.github.kristofa.test.http.file.HttpRequestFileWriterImpl.class com.github.kristofa.test.http.file.HttpRequestResponseFileLogger.class com.github.kristofa.test.http.file.HttpRequestResponseFileLoggerFactory.class com.github.kristofa.test.http.file.HttpResponseFileReader.class com.github.kristofa.test.http.file.HttpResponseFileReaderImpl.class com.github.kristofa.test.http.file.HttpResponseFileWriter.class com.github.kristofa.test.http.file.HttpResponseFileWriterImpl.class
mock-http-server-4.0.pom file content.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.github.kristofa</groupId> <artifactId>mock-http-server</artifactId> <version>4.0</version> <packaging>jar</packaging> <name>Mock and Proxy Http Server</name> <description>Mock and Proxy HTTP Server for testing purposes. Forked from https://github.com/jharlap/mock-http-server</description> <url>https://github.com/kristofa/mock-http-server</url> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:kristofa/mock-http-server.git</connection> <url>git@github.com:kristofa/mock-http-server.git</url> <developerConnection>scm:git:git@github.com:kristofa/mock-http-server.git</developerConnection> </scm> <developers> <developer> <id>kristofa</id> <name>Kristof Adriaenssens</name> <email>kr_adr@yahoo.co.uk</email> </developer> </developers> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>org.simpleframework</groupId> <artifactId>simple</artifactId> <version>4.1.21</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.6.4</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.8.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.2.5</version> </dependency> </dependencies> <build> <resources> <resource> <filtering>false</filtering> <directory>src/main/resources</directory> </resource> <resource> <filtering>false</filtering> <directory>src/main/java</directory> <includes> <include>**</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> <testResources> <testResource> <filtering>false</filtering> <directory>src/test/java</directory> <includes> <include>**</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </testResource> <testResource> <filtering>false</filtering> <directory>src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> <optimize>true</optimize> <debug>true</debug> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> <configuration> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.14</version> <executions> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> </goals> </execution> <execution> <id>verify</id> <goals> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>
<dependency> <groupId>com.github.kristofa</groupId> <artifactId>mock-http-server</artifactId> <version>4.0</version> </dependency>
If you think the following mock-http-server-4.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download mock-http-server-4.0.jar file