Class PluginGwtRpcRequestMatcher
- 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.PluginGwtRpcRequestMatcher
-
- All Implemented Interfaces:
com.hitachivantara.security.web.model.matcher.RequestMatcher
,Predicate<javax.servlet.http.HttpServletRequest>
public class PluginGwtRpcRequestMatcher extends AbstractGwtRpcRequestMatcher
ThePluginGwtRpcRequestMatcher
class is a specialized GWT-RPC request matcher which can be used to match URLs of GWT-RPC services of Pentaho Platform plugins (e.g./gwtrpc/serviceName
).- See Also:
PluginGwtRpc
-
-
Constructor Summary
Constructors Constructor Description PluginGwtRpcRequestMatcher(String pattern, boolean isCaseInsensitive, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache)
PluginGwtRpcRequestMatcher(String pattern, Collection<String> rpcMethods, IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
PluginGwtRpcRequestMatcher
public PluginGwtRpcRequestMatcher(@NonNull String pattern, @Nullable Collection<String> rpcMethods, @Nullable IGwtRpcSerializationPolicyCache serializationPolicyCache)
-
PluginGwtRpcRequestMatcher
public PluginGwtRpcRequestMatcher(@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: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.
-
-