Package org.wildfly.security.http
Interface HttpServerScopes
-
- All Known Subinterfaces:
HttpExchangeSpi
,HttpScopeNotification
,HttpServerRequest
- All Known Implementing Classes:
HttpServerRequestWrapper
public interface HttpServerScopes
Interface providing access to context specificHttpScope
instances.- Author:
- Darran Lofthouse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpScope
getScope(Scope scope)
Get the specifiedHttpScope
if available.HttpScope
getScope(Scope scope, String id)
Get the specifiedHttpScope
with the specified ID.Collection<String>
getScopeIds(Scope scope)
Get the IDs available for the scope specified.
-
-
-
Method Detail
-
getScope
HttpScope getScope(Scope scope)
Get the specifiedHttpScope
if available.- Parameters:
scope
- the type of the scope required.- Returns:
- the scope specified or
null
if not supported.
-
getScopeIds
Collection<String> getScopeIds(Scope scope)
Get the IDs available for the scope specified.- Parameters:
scope
- the scope the IDs are required for.- Returns:
- The IDs available for the scope specified or
null
if the scope specified does not support obtaining scopes by ID.
-
-