mirror of
https://github.com/google/nomulus
synced 2026-07-30 20:12:48 +00: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:
committed by
Ben McIlwain
parent
d6e6e8a49c
commit
a904f2c6ee
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user