public class UrlQueryParamFilter extends Object implements RuntimePropertyFilter, javax.ws.rs.container.ContainerRequestFilter
noFilter
Constructor and Description |
---|
UrlQueryParamFilter() |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext containerRequestContext) |
UrlQueryParamFilter |
inclusionFilter(boolean yes)
If true this will behave as an inclusion filter.
|
UrlQueryParamFilter |
paramName(String queryParamName)
The name of the query parameter to get the properties to filter.
|
boolean |
shouldInclude(BeanProperty property,
Context ctx) |
UrlQueryParamFilter |
splitBy(String pattern)
When defined it will be used to split every param value into property names.
|
public boolean shouldInclude(BeanProperty property, Context ctx)
shouldInclude
in interface RuntimePropertyFilter
public void filter(javax.ws.rs.container.ContainerRequestContext containerRequestContext) throws IOException
filter
in interface javax.ws.rs.container.ContainerRequestFilter
IOException
public UrlQueryParamFilter inclusionFilter(boolean yes)
public UrlQueryParamFilter paramName(String queryParamName)
public UrlQueryParamFilter splitBy(String pattern)
Copyright © 2019. All rights reserved.