mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Add RDAP pretty-printing option
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176529676
This commit is contained in:
parent
6f659659ff
commit
67a41273bb
13 changed files with 71 additions and 9 deletions
|
@ -72,4 +72,10 @@ public final class RdapModule {
|
|||
static Optional<Boolean> provideIncludeDeleted(HttpServletRequest req) {
|
||||
return RequestParameters.extractOptionalBooleanParameter(req, "includeDeleted");
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter("formatOutput")
|
||||
static Optional<Boolean> provideFormatOutput(HttpServletRequest req) {
|
||||
return RequestParameters.extractOptionalBooleanParameter(req, "formatOutput");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue