mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Add mapper to import domains from RDE deposits
With some additional cleanup by Ben McIlwain. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146695665
This commit is contained in:
parent
d6e6e8a49c
commit
a904f2c6ee
37 changed files with 2916 additions and 268 deletions
|
@ -28,9 +28,11 @@ import javax.servlet.http.HttpServletRequest;
|
|||
@Module
|
||||
public final class RdeImportsModule {
|
||||
|
||||
static final String PATH = "path";
|
||||
|
||||
@Provides
|
||||
@Parameter("path")
|
||||
@Parameter(PATH)
|
||||
static String providePath(HttpServletRequest req) {
|
||||
return RequestParameters.extractRequiredParameter(req, "path");
|
||||
return RequestParameters.extractRequiredParameter(req, PATH);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue