Class MultipartRequestInputFactory
- java.lang.Object
 - 
- org.opendaylight.openflowplugin.impl.common.MultipartRequestInputFactory
 
 
- 
public final class MultipartRequestInputFactory extends Object
openflowplugin-impl org.opendaylight.openflowplugin.impl.common Factory class is designed for easy producing a MultipartRequestInput. Class should help to understand a relationship betweenMultipartTypeandMultipartRequestInputwithout touch OF specification 1.3.2 - a section 7.3.5. Multipart Messages 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OfHeadermakeMultipartRequest(long xid, short version, @NonNull MultipartType type, boolean canUseSingleLayer)Method validate input and makesOfHeaderfrom input values. 
 - 
 
- 
- 
Method Detail
- 
makeMultipartRequest
public static OfHeader makeMultipartRequest(long xid, short version, @NonNull MultipartType type, boolean canUseSingleLayer)
Method validate input and makesOfHeaderfrom input values. Method set a moreRequest marker to false and it creates default empty multipart request body byMultipartType- Parameters:
 xid- xidversion- OpenFlow versiontype- multipart typecanUseSingleLayer- can use single layer serialization- Returns:
 - multipart request
 
 
 - 
 
 -