Package | Description |
---|---|
org.apache.ambari.server.api.services |
Modifier and Type | Method and Description |
---|---|
Request.Type |
DeleteRequest.getRequestType() |
Request.Type |
Request.getRequestType()
Obtain the http request type.
|
Request.Type |
QueryPostRequest.getRequestType() |
Request.Type |
PostRequest.getRequestType() |
Request.Type |
GetRequest.getRequestType() |
Request.Type |
PutRequest.getRequestType() |
static Request.Type |
Request.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.Type[] |
Request.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Request |
RequestFactory.createRequest(javax.ws.rs.core.HttpHeaders headers,
RequestBody body,
javax.ws.rs.core.UriInfo uriInfo,
Request.Type requestType,
ResourceInstance resource)
Create a request instance.
|
protected javax.ws.rs.core.Response |
BaseService.handleRequest(javax.ws.rs.core.HttpHeaders headers,
String body,
javax.ws.rs.core.UriInfo uriInfo,
Request.Type requestType,
ResourceInstance resource)
All requests are funneled through this method so that common logic can be executed.
|
Copyright © 2017. All rights reserved.