|
|
@ -24,6 +24,8 @@ import java.util.Set;
|
|
|
|
* Include options for HTTP tracing.
|
|
|
|
* Include options for HTTP tracing.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author Wallace Wadge
|
|
|
|
* @author Wallace Wadge
|
|
|
|
|
|
|
|
* @author Emily Tsanova
|
|
|
|
|
|
|
|
* @author Joseph Beeton
|
|
|
|
* @since 2.0.0
|
|
|
|
* @since 2.0.0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public enum Include {
|
|
|
|
public enum Include {
|
|
|
@ -55,6 +57,7 @@ public enum Include {
|
|
|
|
PRINCIPAL,
|
|
|
|
PRINCIPAL,
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|
|
|
|
*
|
|
|
|
* Include the remote address.
|
|
|
|
* Include the remote address.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
REMOTE_ADDRESS,
|
|
|
|
REMOTE_ADDRESS,
|
|
|
@ -75,7 +78,6 @@ public enum Include {
|
|
|
|
Set<Include> defaultIncludes = new LinkedHashSet<>();
|
|
|
|
Set<Include> defaultIncludes = new LinkedHashSet<>();
|
|
|
|
defaultIncludes.add(Include.REQUEST_HEADERS);
|
|
|
|
defaultIncludes.add(Include.REQUEST_HEADERS);
|
|
|
|
defaultIncludes.add(Include.RESPONSE_HEADERS);
|
|
|
|
defaultIncludes.add(Include.RESPONSE_HEADERS);
|
|
|
|
defaultIncludes.add(Include.COOKIE_HEADERS);
|
|
|
|
|
|
|
|
defaultIncludes.add(Include.TIME_TAKEN);
|
|
|
|
defaultIncludes.add(Include.TIME_TAKEN);
|
|
|
|
DEFAULT_INCLUDES = Collections.unmodifiableSet(defaultIncludes);
|
|
|
|
DEFAULT_INCLUDES = Collections.unmodifiableSet(defaultIncludes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|