Skip navigation links
A B C D E F G H I L M N O P Q R S T U Z 

A

array(Object, int) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Generate array.
ArrayGenerator - Class in org.apache.shenyu.plugin.mock.generator
Array data generator.
ArrayGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 

B

body(byte[]) - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build body.
bool() - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate Boolean.
BoolGenerator - Class in org.apache.shenyu.plugin.mock.generator
Boolean Generator.
BoolGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.BoolGenerator
 
build() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build new Object.
builder() - Static method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
class builder.

C

CACHED_HANDLE - Static variable in class org.apache.shenyu.plugin.mock.handler.MockPluginHandler
 
current(String...) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Generate current time.
CurrentTimeGenerator - Class in org.apache.shenyu.plugin.mock.generator
Current time generator.
CurrentTimeGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 

D

dealRule(String, MockRequest) - Static method in class org.apache.shenyu.plugin.mock.generator.GeneratorFactory
replace placeholder in content.
doExecute(ServerWebExchange, ShenyuPluginChain, SelectorData, RuleData) - Method in class org.apache.shenyu.plugin.mock.MockPlugin
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.BoolGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.ExpressionGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
generate mock data.
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.RandomIntGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.StandardExpressionGenerator
 
doGenerate(List<String>, String, MockRequest) - Method in class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
doubleValue() - Method in class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 

E

email() - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate email.
EmailGenerator - Class in org.apache.shenyu.plugin.mock.generator
Random email address generator.
EmailGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
en(int, int) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate English string.
EnStringGenerator - Class in org.apache.shenyu.plugin.mock.generator
Random english string generator.
EnStringGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
EvaluationContextUtil - Class in org.apache.shenyu.plugin.mock.util
EvaluationContextUtil.
ExpressionGenerator - Class in org.apache.shenyu.plugin.mock.generator
The simplified version of the SEPL parsing implementation does not support write function execution.
ExpressionGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.ExpressionGenerator
 
extractParams(String) - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
extract params from rule.

F

floatValue() - Method in class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 
FormatDouble(Double, String) - Constructor for class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 
FormatDouble(Double) - Constructor for class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 

G

generate(String, MockRequest) - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
generate mock data.
Generator<T> - Interface in org.apache.shenyu.plugin.mock.generator
Context generator.
GeneratorFactory - Class in org.apache.shenyu.plugin.mock.generator
GeneratorFactory.
getForms() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Gets form-body,not support now.
getHeaders() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Gets headers.
getJson() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Get json-body.
getMethod() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Gets Method.
getName() - Method in class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.BoolGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.ExpressionGenerator
 
getName() - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
rule name.
getName() - Method in class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.RandomIntGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.StandardExpressionGenerator
 
getName() - Method in class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
getOrder() - Method in class org.apache.shenyu.plugin.mock.MockPlugin
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.BoolGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.ExpressionGenerator
 
getParamSize() - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
get size of rule params.
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.RandomIntGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.StandardExpressionGenerator
 
getParamSize() - Method in class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
getPrefixAndSuffix() - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
return prefix and suffix for generate data.
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
getPrefixAndSuffix() - Method in class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
getQueries() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Get queries.
getUri() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Gets uri.
getXml() - Method in class org.apache.shenyu.plugin.mock.api.MockRequest
Gets xml-body,not support now.

H

handlerRule(RuleData) - Method in class org.apache.shenyu.plugin.mock.handler.MockPluginHandler
 
headers(Map<String, String>) - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build headers.

I

init(EvaluationContext) - Static method in class org.apache.shenyu.plugin.mock.util.EvaluationContextUtil
init EvaluationContext.
intValue() - Method in class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 

L

longValue() - Method in class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 

M

match(String) - Method in class org.apache.shenyu.plugin.mock.generator.ArrayGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.BoolGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.CurrentTimeGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.EmailGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.EnStringGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.ExpressionGenerator
 
match(String) - Method in interface org.apache.shenyu.plugin.mock.generator.Generator
Determine whether the rule meets the format requirements.
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.RandomIntGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.StandardExpressionGenerator
 
match(String) - Method in class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
method(String) - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build method.
MockPlugin - Class in org.apache.shenyu.plugin.mock
MockPlugin.
MockPlugin() - Constructor for class org.apache.shenyu.plugin.mock.MockPlugin
 
MockPluginHandler - Class in org.apache.shenyu.plugin.mock.handler
The type mock plugin data subscriber.
MockPluginHandler() - Constructor for class org.apache.shenyu.plugin.mock.handler.MockPluginHandler
 
MockRequest - Class in org.apache.shenyu.plugin.mock.api
 
MockRequest.Builder - Class in org.apache.shenyu.plugin.mock.api
 
MockUtil - Class in org.apache.shenyu.plugin.mock.util
 
MockUtil.FormatDouble - Class in org.apache.shenyu.plugin.mock.util
how to json this Object? com.fasterxml.jackson.databind.ser.std.NumberSerializer#serialize

N

named() - Method in class org.apache.shenyu.plugin.mock.MockPlugin
 
newInstance(String, String) - Static method in class org.apache.shenyu.plugin.mock.generator.GeneratorFactory
New instance mock data generator.
nowDate() - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
nowDate.
nowTime() - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
nowTime.

O

oneOf(Object...) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate item of data.
org.apache.shenyu.plugin.mock - package org.apache.shenyu.plugin.mock
 
org.apache.shenyu.plugin.mock.api - package org.apache.shenyu.plugin.mock.api
 
org.apache.shenyu.plugin.mock.generator - package org.apache.shenyu.plugin.mock.generator
 
org.apache.shenyu.plugin.mock.handler - package org.apache.shenyu.plugin.mock.handler
 
org.apache.shenyu.plugin.mock.util - package org.apache.shenyu.plugin.mock.util
 

P

phone() - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate phone.
PhoneGenerator - Class in org.apache.shenyu.plugin.mock.generator
11-digit mobile number generator.
PhoneGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.PhoneGenerator
 
pluginNamed() - Method in class org.apache.shenyu.plugin.mock.handler.MockPluginHandler
 

Q

queries(Map<String, String>) - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build queries.

R

randomDouble(double, double, String...) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate Double in the specified range.
RandomDoubleGenerator - Class in org.apache.shenyu.plugin.mock.generator
Random double value generator in the specified range.
RandomDoubleGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.RandomDoubleGenerator
 
randomInt(int, int) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate int in the specified range.
randomInt(int, int) - Static method in class org.apache.shenyu.plugin.mock.util.RandomUtil
Randomly generate integers.
RandomIntGenerator - Class in org.apache.shenyu.plugin.mock.generator
Random int value generator in the specified range.
RandomIntGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.RandomIntGenerator
 
randomLowerLetterString(int) - Static method in class org.apache.shenyu.plugin.mock.util.RandomUtil
Generate a string containing only lowercase letters.
RandomUtil - Class in org.apache.shenyu.plugin.mock.util
Random Util.
RandomUtil() - Constructor for class org.apache.shenyu.plugin.mock.util.RandomUtil
 
RangeDataGenerator - Class in org.apache.shenyu.plugin.mock.generator
Specify the in-list data generator.
RangeDataGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.RangeDataGenerator
 
removeRule(RuleData) - Method in class org.apache.shenyu.plugin.mock.handler.MockPluginHandler
 

S

StandardExpressionGenerator - Class in org.apache.shenyu.plugin.mock.generator
Insecure support for SPEL parsed implementations.
StandardExpressionGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.StandardExpressionGenerator
 

T

toString() - Method in class org.apache.shenyu.plugin.mock.util.MockUtil.FormatDouble
 

U

uri(String) - Method in class org.apache.shenyu.plugin.mock.api.MockRequest.Builder
build uri.

Z

zh(int, int) - Static method in class org.apache.shenyu.plugin.mock.util.MockUtil
Randomly generate Chinese string.
ZhStringGenerator - Class in org.apache.shenyu.plugin.mock.generator
Random length Chinese string generator.
ZhStringGenerator() - Constructor for class org.apache.shenyu.plugin.mock.generator.ZhStringGenerator
 
A B C D E F G H I L M N O P Q R S T U Z 
Skip navigation links

Copyright © 2024 The Apache Software Foundation. All rights reserved.