google-nomulus/java/google/registry/request
mountford 4267fa7e48 Return proper RDAP error messages when invalid IP addresses are specified
We were relying on Dagger to validate the IP address, but that resulted in 500 errors when the IP address was not valid, which is undesirable. Instead, accept the parameters as strings, then convert them to IP addresses and throw a proper error when conversion fails.

Also fixes an improperly specified test.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173172516
2017-10-24 16:53:47 -04:00
..
auth Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
lock Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
Action.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
Actions.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Create an injectable LockHandler 2017-09-12 15:51:50 -04:00
Header.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HttpException.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonActionRunner.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonPayload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonResponse.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Modules.java Use standard java thread factory instead of the AppEngine flavor 2017-10-24 16:53:47 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Parameter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ParameterMap.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Payload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestComponentBuilder.java Remove Builder type param on RequestComponentBuilder/RequestHandler 2017-02-27 11:12:07 -05:00
RequestHandler.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RequestLogId.java Add tool to check if other requests are still running 2017-09-12 15:51:50 -04:00
RequestMethod.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestModule.java Check if lock owner is finished on lock acquisition 2017-09-20 10:27:17 -04:00
RequestParameters.java Return proper RDAP error messages when invalid IP addresses are specified 2017-10-24 16:53:47 -04:00
RequestPath.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestScope.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Response.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResponseImpl.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Route.java Remove xsrfScope and xsrfProtection authentication attributes 2017-06-21 09:46:40 -04:00
Router.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RouterDisplayHelper.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00