Class WebElementModel
java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.web.model.WebElementModel
ServletModule servlet or filter registration model.
- Since:
- 23.10.2019
-
Constructor Summary
ConstructorsConstructorDescriptionWebElementModel(WebElementType type, com.google.inject.Key key, boolean instance) Create model. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.KeygetKey()com.google.inject.servlet.UriPatternTypegetType()booleanvoidsetPattern(String pattern) voidsetPatternType(com.google.inject.servlet.UriPatternType patternType)
-
Constructor Details
-
WebElementModel
Create model.- Parameters:
type- element typekey- binding keyinstance- true for instance
-
-
Method Details
-
setPattern
- Parameters:
pattern- binding pattern
-
setPatternType
public void setPatternType(com.google.inject.servlet.UriPatternType patternType) - Parameters:
patternType- binding pattern type
-
getType
- Returns:
- element type
-
getPattern
- Returns:
- binding pattern
-
getPatternType
public com.google.inject.servlet.UriPatternType getPatternType()- Returns:
- binding pattern type
-
getKey
public com.google.inject.Key getKey()- Returns:
- binding key
-
isInstance
public boolean isInstance()- Returns:
- true for binding by instance
-