org.cruxframework.crux.core.server.rest.core.dispatch
Class CorsData
java.lang.Object
org.cruxframework.crux.core.server.rest.core.dispatch.CorsData
public class CorsData
- extends Object
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorsData
public CorsData()
getAllowMethods
public Iterator<String> getAllowMethods()
isAllowMethod
public boolean isAllowMethod(String method)
getMaxAge
public long getMaxAge()
isAllOriginsAllowed
public boolean isAllOriginsAllowed()
isOriginAllowed
public boolean isOriginAllowed(String origin)
getExposeHeaders
public Iterator<String> getExposeHeaders()
isAllowCredentials
public boolean isAllowCredentials()
Copyright © 2015. All rights reserved.