站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 server API Documentation 英文版文档

AnyhostVerifier (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


org.jboss.invocation.http.interfaces
Class AnyhostVerifier

java.lang.Object
  extended byorg.jboss.invocation.http.interfaces.AnyhostVerifier
All Implemented Interfaces:
InvocationHandler

public class AnyhostVerifier
extends Object
implements InvocationHandler


Constructor Summary
AnyhostVerifier()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          An implementation of the com.sun.net.ssl.HostnameVerifier or javax.net.ssl.HostnameVerifier that returns true always.
static void setHostnameVerifier(HttpURLConnection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyhostVerifier

public AnyhostVerifier()
Method Detail

setHostnameVerifier

public static void setHostnameVerifier(HttpURLConnection conn)
                                throws IllegalAccessException,
                                       InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
An implementation of the com.sun.net.ssl.HostnameVerifier or javax.net.ssl.HostnameVerifier that returns true always.

Specified by:
invoke in interface InvocationHandler
Parameters:
proxy -
method - the HostnameVerifier method invocation
args - the HostnameVerifier method args
Returns:
Boolean.TRUE for anything but toString invocations
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.