net.sf.fikin.ant.httpclientanttask
Class AntHeadMethod

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.sf.fikin.ant.httpclientanttask.BaseAntMethod
              extended by net.sf.fikin.ant.httpclientanttask.BaseResponseAntMethod
                  extended by net.sf.fikin.ant.httpclientanttask.AntHeadMethod

public class AntHeadMethod
extends BaseResponseAntMethod

Perform HTTP HEAD method

Examples:

 
      <httphead url="..." />
 
      <httphead url="..." logLevel="content" logFile="..." />
 
      <httphead url="..." >
          <userCredentials ... />
      </httphead>
 
 
created on Dec 7, 2006

Since:
Version:
$Revision: 1.3 $
Author:
fiykov
Ant Task Name:
httphead

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.fikin.ant.httpclientanttask.BaseResponseAntMethod
BaseResponseAntMethod.ProjectLogOutputStream, BaseResponseAntMethod.ProjectLogWriter
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
AntHeadMethod()
           
 
Method Summary
protected  org.apache.commons.httpclient.HttpMethod newHttpMethod(java.lang.String url)
          factory for OPTIONS method
 
Methods inherited from class net.sf.fikin.ant.httpclientanttask.BaseResponseAntMethod
after_execute_method, check, closeOutput, getLogAppend, getLogFile, getLogLevel, getLogProcessAs, getOutStream, getOutWriter, initOutputHandler, printBytes, printString, processResponse, setLogAppend, setLogFile, setLogLevel, setLogProcessAs, setOutStream, setOutWriter
 
Methods inherited from class net.sf.fikin.ant.httpclientanttask.BaseAntMethod
addProperty, before_execute_method, clearHttpClient, createProxy, createUserCredentials, execute_method, execute, getConnectionTimeout, getCookiePolicy, getFailOnError, getHttpClient, getHttpMethod, getProperties, getProxy, getRetryAttempts, getShutdown, getSslAcceptUntrusted, getUrl, getUserCredentials, setConnectionTimeout, setCookiePolicy, setFailOnError, setHttpMethod, setProperties, setProxy, setRetryAttempts, setShutdown, setSslAcceptUntrusted, setUrl, setUserCredentials
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntHeadMethod

public AntHeadMethod()
Method Detail

newHttpMethod

protected org.apache.commons.httpclient.HttpMethod newHttpMethod(java.lang.String url)
factory for OPTIONS method

Specified by:
newHttpMethod in class BaseAntMethod


Copyright © 2003-2007 Nikolay Fiykov. All Rights Reserved.