Package com.amazonaws.xray.strategy
Class FixedSegmentNamingStrategy
- java.lang.Object
-
- com.amazonaws.xray.strategy.FixedSegmentNamingStrategy
-
- All Implemented Interfaces:
SegmentNamingStrategy
@Deprecated public class FixedSegmentNamingStrategy extends java.lang.Object implements SegmentNamingStrategy
Deprecated.
-
-
Field Summary
-
Fields inherited from interface com.amazonaws.xray.strategy.SegmentNamingStrategy
NAME_OVERRIDE_ENVIRONMENT_VARIABLE_KEY, NAME_OVERRIDE_SYSTEM_PROPERTY_KEY
-
-
Constructor Summary
Constructors Constructor Description FixedSegmentNamingStrategy(java.lang.String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
nameForRequest(javax.servlet.http.HttpServletRequest request)
Deprecated.Returns a segment name for an incoming request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.xray.strategy.SegmentNamingStrategy
getOverrideName
-
-
-
-
Method Detail
-
nameForRequest
public java.lang.String nameForRequest(javax.servlet.http.HttpServletRequest request)
Deprecated.Returns a segment name for an incoming request.- Specified by:
nameForRequest
in interfaceSegmentNamingStrategy
- Parameters:
request
- the incoming request- Returns:
- the name for the segment representing the request.
-
-