org.cruxframework.crux.core.server.rest.core.dispatch
Class CorsData

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.core.dispatch.CorsData

public class CorsData
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
CorsData()
           
 
Method Summary
 Iterator<String> getAllowMethods()
           
 Iterator<String> getExposeHeaders()
           
 long getMaxAge()
           
 boolean isAllOriginsAllowed()
           
 boolean isAllowCredentials()
           
 boolean isAllowMethod(String method)
           
 boolean isOriginAllowed(String origin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorsData

public CorsData()
Method Detail

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 © 2014. All rights reserved.