public class OriginFilter
extends org.restlet.routing.Filter
Modifier and Type | Field and Description |
---|---|
protected List<String> |
allowedOrigins |
Constructor and Description |
---|
OriginFilter(org.restlet.Context context,
List<String> allowedOrigins) |
OriginFilter(org.restlet.Context context,
String allowedOrigins) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterHandle(org.restlet.Request request,
org.restlet.Response response) |
protected int |
beforeHandle(org.restlet.Request request,
org.restlet.Response response) |
List<String> |
getAllowedOrigins() |
doHandle, getNext, handle, hasNext, setNext, setNext, start, stop
public OriginFilter(org.restlet.Context context, String allowedOrigins)
protected int beforeHandle(org.restlet.Request request, org.restlet.Response response)
beforeHandle
in class org.restlet.routing.Filter
protected void afterHandle(org.restlet.Request request, org.restlet.Response response)
afterHandle
in class org.restlet.routing.Filter
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.