Package org.apache.sling.engine
Interface RequestInfo
-
public interface RequestInfoInformation about a single request.- Since:
- 2.5
- See Also:
RequestInfoProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.StringgetId()Get the unique id for the request@NotNull java.lang.StringgetLog()Get the log for the request@NotNull java.lang.StringgetMethod()Get the request method@NotNull java.lang.StringgetPath()Get the requested path@Nullable java.lang.StringgetUserId()Get the user id for the request
-
-
-
Method Detail
-
getId
@NotNull @NotNull java.lang.String getId()
Get the unique id for the request- Returns:
- The id
-
getMethod
@NotNull @NotNull java.lang.String getMethod()
Get the request method- Returns:
- The request method
-
getPath
@NotNull @NotNull java.lang.String getPath()
Get the requested path- Returns:
- The path
-
getUserId
@Nullable @Nullable java.lang.String getUserId()
Get the user id for the request- Returns:
- the user id or
null
-
getLog
@NotNull @NotNull java.lang.String getLog()
Get the log for the request- Returns:
- The request log, multi-line output
-
-