org.nuiton.io.rest
Interface RestRequest


public interface RestRequest

The contract of a rest request.

Since:
1.0.3
Author:
tchemit

Method Summary
 Map<String,File> getAttachments()
           
 String[] getParameters()
           
 String[] getPath()
           
 

Method Detail

getPath

String[] getPath()
Returns:
the splitted path to add to url

getParameters

String[] getParameters()
Returns:
an array of pair (parameter name - parameter value) to pass to request

getAttachments

Map<String,File> getAttachments()
Returns:
the map of attachment to pass to request


Copyright © 2009-2011 CodeLutin. All Rights Reserved.