-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ccd57d
commit 918e085
Showing
4 changed files
with
161 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
*/ | ||
package com.jcabi.http.mock; | ||
|
||
import java.io.Closeable; | ||
import java.io.IOException; | ||
import java.net.URI; | ||
import java.util.Collection; | ||
|
@@ -58,14 +59,17 @@ | |
* and works until JVM is shut down. The only way to stop it is to call | ||
* {@link #stop()}. | ||
* | ||
* <p>Since version 0.11 container implements {@link Closeable} and can be | ||
* used in try-with-resource block. | ||
* | ||
* @author Yegor Bugayenko ([email protected]) | ||
* @version $Id$ | ||
* @since 0.10 | ||
* @see <a href="http://www.rexsl.com/rexsl-test/example-mock-servlet.html">Examples</a> | ||
* @checkstyle TooManyMethods (200 lines) | ||
*/ | ||
@SuppressWarnings("PMD.TooManyMethods") | ||
public interface MkContainer { | ||
public interface MkContainer extends Closeable { | ||
|
||
/** | ||
* Give this answer on the next request. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.