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>
public class SystemGwtRpcRequestMatcher extends AbstractGwtRpcRequestMatcher
TheSystemGwtRpcRequestMatcherclass 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:
SystemGwtRpc
-
-
Constructor Summary
Constructors Constructor Description SystemGwtRpcRequestMatcher(String pattern, boolean isCaseInsensitive, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache)SystemGwtRpcRequestMatcher(String pattern, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractGwtRpcgetGwtRpc(javax.servlet.http.HttpServletRequest httpRequest)Gets theAbstractGwtRpcinstance 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 Detail
-
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 Detail
-
getGwtRpc
@NonNull protected AbstractGwtRpc getGwtRpc(@NonNull javax.servlet.http.HttpServletRequest httpRequest)
Description copied from class:AbstractGwtRpcRequestMatcherGets theAbstractGwtRpcinstance associated with the given request, creating one if it has not yet been created.- Specified by:
getGwtRpcin classAbstractGwtRpcRequestMatcher- Parameters:
httpRequest- The HTTP request.- Returns:
- The associated
AbstractGwtRpcinstance.
-
-