Class SystemGwtRpcRequestMatcher
java.lang.Object
com.hitachivantara.security.web.impl.model.matcher.RegexRequestMatcher
org.pentaho.platform.web.gwt.rpc.matcher.AbstractGwtRpcRequestMatcher
org.pentaho.platform.web.gwt.rpc.matcher.SystemGwtRpcRequestMatcher
- All Implemented Interfaces:
com.hitachivantara.security.web.model.matcher.RequestMatcher
,Predicate<javax.servlet.http.HttpServletRequest>
The
SystemGwtRpcRequestMatcher
class is a specialized GWT-RPC request matcher
which can be used to match URLs of GWT-RPC services of the Pentaho Platform itself (e.g.
/ws/gwt/serviceName
).- See Also:
-
Field Summary
Fields inherited from interface com.hitachivantara.security.web.model.matcher.RequestMatcher
ALL, NONE
-
Constructor Summary
ConstructorDescriptionSystemGwtRpcRequestMatcher
(String pattern, boolean isCaseInsensitive, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache) SystemGwtRpcRequestMatcher
(String pattern, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractGwtRpc
getGwtRpc
(javax.servlet.http.HttpServletRequest httpRequest) Gets theAbstractGwtRpc
instance associated with the given request, creating one if it has not yet been created.Methods inherited from class org.pentaho.platform.web.gwt.rpc.matcher.AbstractGwtRpcRequestMatcher
getRpcMethodNames, getSerializationPolicyCache, test
-
Constructor Details
-
SystemGwtRpcRequestMatcher
public SystemGwtRpcRequestMatcher(@NonNull String pattern, @Nullable Collection<String> rpcMethods, @Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache) -
SystemGwtRpcRequestMatcher
public SystemGwtRpcRequestMatcher(@NonNull String pattern, boolean isCaseInsensitive, @Nullable Collection<String> rpcMethods, @Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
-
Method Details
-
getGwtRpc
@NonNull protected AbstractGwtRpc getGwtRpc(@NonNull javax.servlet.http.HttpServletRequest httpRequest) Description copied from class:AbstractGwtRpcRequestMatcher
Gets theAbstractGwtRpc
instance associated with the given request, creating one if it has not yet been created.- Specified by:
getGwtRpc
in classAbstractGwtRpcRequestMatcher
- Parameters:
httpRequest
- The HTTP request.- Returns:
- The associated
AbstractGwtRpc
instance.
-