-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(appmesh): rename the class HttpRouteMatchMethod to HttpRouteMeth…
…od (#15466) Renaming `HttpRouteMatchMethod` to `HttpRouteMethod`. Also move it into its own file since this class is going to be used by multiple classes. BREAKING CHANGE: the class `HttpRouteMatchMethod` has been renamed to `HttpRouteMethod` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
6 changed files
with
56 additions
and
56 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* Supported values for matching routes based on the HTTP request method | ||
*/ | ||
export enum HttpRouteMethod { | ||
/** | ||
* GET request | ||
*/ | ||
GET = 'GET', | ||
|
||
/** | ||
* HEAD request | ||
*/ | ||
HEAD = 'HEAD', | ||
|
||
/** | ||
* POST request | ||
*/ | ||
POST = 'POST', | ||
|
||
/** | ||
* PUT request | ||
*/ | ||
PUT = 'PUT', | ||
|
||
/** | ||
* DELETE request | ||
*/ | ||
DELETE = 'DELETE', | ||
|
||
/** | ||
* CONNECT request | ||
*/ | ||
CONNECT = 'CONNECT', | ||
|
||
/** | ||
* OPTIONS request | ||
*/ | ||
OPTIONS = 'OPTIONS', | ||
|
||
/** | ||
* TRACE request | ||
*/ | ||
TRACE = 'TRACE', | ||
|
||
/** | ||
* PATCH request | ||
*/ | ||
PATCH = 'PATCH', | ||
} |
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
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