Class HttpMetaServiceDescriptor.RequestTransformer
java.lang.Object
io.inverno.mod.discovery.http.meta.HttpMetaServiceDescriptor.RequestTransformer
- Enclosing class:
HttpMetaServiceDescriptor
Describes a request transformer.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the headers to add.Returns the headers to remove.Returns the request authority to set.Returns the headers to set.Returns the path translators.int
hashCode()
-
Constructor Details
-
RequestTransformer
public RequestTransformer(Map<String, String> translatePath, String setAuthority, Map<String, String> addHeaders, Map<String, String> setHeaders, Set<String> removeHeaders) Creates a request transformer.
- Parameters:
translatePath
- the path translatorssetAuthority
- the request authority to setaddHeaders
- the headers to addsetHeaders
- the headers to setremoveHeaders
- the headers to remove
-
-
Method Details
-
getTranslatePath
Returns the path translators.
- Returns:
- the path translators
-
getSetAuthority
Returns the request authority to set.
- Returns:
- the request authority to set
-
getAddHeaders
Returns the headers to add.
- Returns:
- the headers to add
-
getSetHeaders
Returns the headers to set.
- Returns:
- the headers to set
-
getRemoveHeaders
Returns the headers to remove.
- Returns:
- the headers ro remove
-
equals
-
hashCode
public int hashCode()
-