target.apidocs.com.google.api.services.servicemanagement.model.Http.html Maven / Gradle / Ivy
Http (Service Management API v1-rev20240823-2.0.0)
com.google.api.services.servicemanagement.model
Class Http
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.servicemanagement.model.Http
-
public final class Http
extends com.google.api.client.json.GenericJson
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each
specifying the mapping of an RPC method to one or more HTTP REST API methods.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Service Management API. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Http()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Http
clone()
Boolean
getFullyDecodeReservedExpansion()
When set to true, URL path parameters will be fully URI-decoded except in cases of single
segment matches in reserved expansion, where "%2F" will be left encoded.
List<HttpRule>
getRules()
A list of HTTP configuration rules that apply to individual API methods.
Http
set(String fieldName,
Object value)
Http
setFullyDecodeReservedExpansion(Boolean fullyDecodeReservedExpansion)
When set to true, URL path parameters will be fully URI-decoded except in cases of single
segment matches in reserved expansion, where "%2F" will be left encoded.
Http
setRules(List<HttpRule> rules)
A list of HTTP configuration rules that apply to individual API methods.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getFullyDecodeReservedExpansion
public Boolean getFullyDecodeReservedExpansion()
When set to true, URL path parameters will be fully URI-decoded except in cases of single
segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior
is to not decode RFC 6570 reserved characters in multi segment matches.
- Returns:
- value or
null
for none
-
setFullyDecodeReservedExpansion
public Http setFullyDecodeReservedExpansion(Boolean fullyDecodeReservedExpansion)
When set to true, URL path parameters will be fully URI-decoded except in cases of single
segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior
is to not decode RFC 6570 reserved characters in multi segment matches.
- Parameters:
fullyDecodeReservedExpansion
- fullyDecodeReservedExpansion or null
for none
-
getRules
public List<HttpRule> getRules()
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service
configuration rules follow "last one wins" order.
- Returns:
- value or
null
for none
-
setRules
public Http setRules(List<HttpRule> rules)
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service
configuration rules follow "last one wins" order.
- Parameters:
rules
- rules or null
for none
-
set
public Http set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Http clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy