id
stringlengths
7
14
text
stringlengths
1
106k
161005_85
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_86
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_87
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_88
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_89
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_90
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_91
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_92
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_93
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_94
@Override public String execute( final Context context, final String classname, final Map< String, String > params ) throws PluginException { if( !m_pluginsEnabled ) { return ""; } final ResourceBundle rb = Preferences.getBundle( context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE ); final boolean debug...
161005_95
@Override public String execute( final Context context, final Map<String, String> params) throws PluginException { final ResourceBundle rb = Preferences.getBundle(context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE); final ReferenceManager referenceManager = context.getEngine().getManager( ReferenceManager.class ); ...
161005_96
@Override public String execute( final Context context, final Map<String, String> params) throws PluginException { final ResourceBundle rb = Preferences.getBundle(context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE); final ReferenceManager referenceManager = context.getEngine().getManager( ReferenceManager.class ); ...
161005_97
@Override public String execute( final Context context, final Map<String, String> params) throws PluginException { final ResourceBundle rb = Preferences.getBundle(context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE); final ReferenceManager referenceManager = context.getEngine().getManager( ReferenceManager.class ); ...
161005_98
@Override public String execute( final Context context, final Map<String, String> params) throws PluginException { final ResourceBundle rb = Preferences.getBundle(context, Plugin.CORE_PLUGINS_RESOURCEBUNDLE); final ReferenceManager referenceManager = context.getEngine().getManager( ReferenceManager.class ); ...
161005_99
@Override public String execute( final Context context, final Map< String, String > params ) throws PluginException { final ReferenceManager refmgr = context.getEngine().getManager( ReferenceManager.class ); String pageName = params.get( PARAM_PAGE ); final ResourceBundle rb = Preferences.getBundle( context...
1613090_0
public abstract void createTableLike(String dbName, String existingTblName, sts, boolean isExternal, ;
1613090_1
public abstract void renameTable(String dbName, String oldName, ;
1613090_2
public abstract void updateTableSchema(String dbName, String tableName, List<HCatFieldSchema> columnSchema) ;
1613090_3
;
1613090_4
public static boolean isset(String s) { return (s != null) && (s.length() > 0); }
1613090_5
public static boolean isset(String s) { return (s != null) && (s.length() > 0); }
1613090_6
public static String extractPercentComplete(String line) { Matcher jar = JAR_COMPLETE.matcher(line); if (jar.find()) return jar.group().trim(); Matcher pig = PIG_COMPLETE.matcher(line); if (pig.find()) return pig.group().trim(); return null; }
1613090_7
public static String encodeArray(String[] plain) { if (plain == null) return null; String[] escaped = new String[plain.length]; for (int i = 0; i < plain.length; ++i) { if (plain[i] == null) { plain[i] = ""; } escaped[i] = StringUtils.escapeString(plain[i]); }...
1613090_8
public static String[] decodeArray(String s) { if (s == null) return null; String[] escaped = StringUtils.split(s); String[] plain = new String[escaped.length]; for (int i = 0; i < escaped.length; ++i) plain[i] = StringUtils.unEscapeString(escaped[i]); return plain; }
1613090_9
public static Path hadoopFsPath(String fname, Configuration conf, String user) throws URISyntaxException, FileNotFoundException, IOException, InterruptedException { if (fname == null || conf == null) { return null; } final Configuration fConf = new Configuration(conf); final String final...
1619254_0
public void setAnswerType(QuestionType answerType) { QuestionType previousBasicAnswerType = this.getBasicAnswerType(); QuestionType basicAnswerType = answerType; if (basicAnswerType == null || (!basicAnswerType.equals(QuestionType.TYPE_TEXT) && !basicAnswerType.equals(QuestionType.TYPE_NUMBER) && !basicAnswe...
1619254_1
@Modifies( { "lastAnswer", "decimalAnswer", "numberAnswer", "textAnswer", "booleanAnswer", "listAnswer", "dateAnswer", "answered" } ) public void setAnswer(Object answer) { if (answerType == null) { throw new IllegalStateException("answerType has not been specified"); } QuestionType basicAnswerType = getBasi...
1619254_2
public Object getAnswer() { if (answerType == null) { throw new IllegalStateException("answerType has not been specified"); } QuestionType basicAnswerType = getBasicAnswerType(); if (basicAnswerType.equals(QuestionType.TYPE_TEXT)) { return textAnswer; } if (basicAnswerType.equals(QuestionType.TYPE_NUMBER)) { ...
1619254_3
@Modifies( "items" ) public void setItems(String[] items) { this.items.clear(); if (items != null) { for (String s : items) { addItem(s); } } }
1619254_4
@Modifies( "items" ) public void addItem(String itemId) { if (validItemId(itemId)) { this.items.add(itemId); } }
1619254_5
@Modifies( "items" ) public void setItemsAsString(String items) { this.items.clear(); if (items != null) { StringTokenizer tok = new StringTokenizer(items,COMMA_SEPARATOR); while (tok.hasMoreTokens()) { this.items.add(tok.nextToken()); } } }
1619254_6
@Modifies( "items" ) public void setItems(String[] items) { this.items.clear(); if (items != null) { for (String s : items) { addItem(s); } } }
1619254_7
@Modifies( "items" ) public void addItem(String itemId) { if (validItemId(itemId)) { this.items.add(itemId); } }
1619254_8
@Modifies( "items" ) public void insertItem(String itemId, String beforeItemId) { if ((beforeItemId == null) || (beforeItemId.length() == 0)) { addItem(itemId); } else if (validItemId(itemId)) { int pos = this.items.indexOf(beforeItemId); if (pos < 0) { addItem(itemId); ...
1619254_9
public void setValue(double value) { this.value = value; }
1619733_1
public static void main( String[] argv ) { Logger logger = Logger.getLogger(ModeShapeExample.class); logger.debug("Starting the custom logging example application"); // Create and start the engine ... logger.debug("Starting the ModeShape engine ..."); ModeShapeEngine engine = new ModeShapeEngine(); ...
1619733_3
public static void main( String[] argv ) { // Create and start the engine ... ModeShapeEngine engine = new ModeShapeEngine(); engine.start(); // Load the configuration for a repository via the classloader (can also use path to a file)... Repository repository = null; String repositoryName = null...
1619733_5
public static void main( String[] argv ) { // Create and start the engine ... ModeShapeEngine engine = new ModeShapeEngine(); engine.start(); // Load the configuration for a repository via the classloader (can also use path to a file)... Repository repository = null; try { URL url = Mode...
1619733_6
public static void main( String[] argv ) { // Create and start the engine ... ModeShapeEngine engine = new ModeShapeEngine(); engine.start(); // Load the configuration for a repository via the classloader (can also use path to a file)... Repository repository = null; String repositoryName = null...
1619733_7
public Database parse( File file ) throws IOException { // Read the file into a single string ... String ddl = readFile(file); // Create the object that will parse the file ... DdlParsers parsers = new DdlParsers(); AstNode node = parsers.parse(ddl, file.getName()); // Now process the AST ... ...
1619733_8
public static void main( String[] argv ) { Random rnd = new Random(); // Create and start the engine ... ModeShapeEngine engine = new ModeShapeEngine(); engine.start(); // Load the configuration for a repository via the classloader (can also use path to a file)... Repository repository = null; ...
1619733_9
public static void main( String[] argv ) { // Create and start the engine ... ModeShapeEngine engine = new ModeShapeEngine(); engine.start(); // Load the configuration for a repository via the classloader (can also use path to a file)... Repository repository = null; String repositoryName = null...
1626780_0
public Map<String, Integer> asMap() { ImmutableMap.Builder<String, Integer> ret = ImmutableMap.builder(); for (Map.Entry<String, Node> ent : this.rootNode.children.entrySet()) { populateMap(ret, ent.getKey(), ent.getValue()); } return ret.build(); }
1626780_1
public NodeTree withValue(String node, int value) { String[] parts = SPLIT_REGEX.split(node.toLowerCase()); Node newRoot = new Node(new HashMap<>(this.rootNode.children)); Node newPtr = newRoot; Node currentPtr = this.rootNode; newPtr.value = currentPtr == null ? 0 : currentPtr.value; for (Strin...
1626780_2
public NodeTree withAll(Map<String, Integer> values) { NodeTree ret = this; for (Map.Entry<String, Integer> ent : values.entrySet()) { ret = ret.withValue(ent.getKey(), ent.getValue()); } return ret; }
1626780_3
public static SchemaMigration twoToThree() { // The big one return dao -> { dao.legacy().renameTable(dao, "permissions", "permissions_old"); dao.legacy().renameTable(dao, "permissions_entity", "permissions_entity_old"); dao.legacy().renameTable(dao, "permissions_inheritance", "permission...
1626780_4
public Optional<SubjectRef> getSubjectRef(int id) throws SQLException { try (PreparedStatement stmt = prepareStatement(getGetSubjectRefIdQuery())) { stmt.setInt(1, id); ResultSet res = stmt.executeQuery(); if (!res.next()) { return Optional.empty(); } return Optio...
1626780_5
public SubjectRef getOrCreateSubjectRef(String type, String name) throws SQLException { final SubjectRef ret = SubjectRef.unresolved(type, name); allocateSubjectRef(ret); return ret; }
1626780_6
public boolean removeSubject(SubjectRef ref) throws SQLException { try (PreparedStatement stmt = prepareStatement(getDeleteSubjectIdQuery())) { stmt.setInt(1, ref.getId()); return stmt.executeUpdate() > 0; } }
1626780_7
public Set<String> getRegisteredTypes() throws SQLException { try (ResultSet rs = prepareStatement(getSelectSubjectTypesQuery()).executeQuery()) { ImmutableSet.Builder<String> ret = ImmutableSet.builder(); while (rs.next()) { ret.add(rs.getString(1)); } return ret.build()...
1626780_8
public Set<String> getAllIdentifiers(String type) throws SQLException { try (PreparedStatement stmt = prepareStatement(getSelectSubjectIdentifiersQuery())) { stmt.setString(1, type); ResultSet rs = stmt.executeQuery(); ImmutableSet.Builder<String> ret = ImmutableSet.builder(); while ...
1626780_9
public void setDefaultValue(Segment segment, Integer permissionDefault) throws SQLException { try (PreparedStatement stmt = prepareStatement(getUpdatePermissionDefaultQuery())) { if (permissionDefault == null) { stmt.setNull(1, Types.INTEGER); } else { stmt.setInt(1, permissi...
1628050_0
public static TxnId parse (String idString) { Matcher matcher = pattern.matcher(idString); if (!matcher.matches() && matcher.groupCount() != 5) throw new IllegalArgumentException("Invalid idString '" + idString + "'"); return new TxnId().init( Integer.parseInt(matcher.group(1)), Integer....
1628050_1
public static TxnId parse (String idString) { Matcher matcher = pattern.matcher(idString); if (!matcher.matches() && matcher.groupCount() != 5) throw new IllegalArgumentException("Invalid idString '" + idString + "'"); return new TxnId().init( Integer.parseInt(matcher.group(1)), Integer....
1628050_2
public static void validate (APICredential cred, SecretKey secretKey, byte[]... payLoad) throws NoSuchAlgorithmException, InvalidKeyException { if (!VERSION.equals(cred.getVersion())) throw new IllegalArgumentException ("unsupported.version"); assertNotNull(payLoad, "invalid.payLoad"); assertNotNull...
1628050_3
public static void validate (APICredential cred, SecretKey secretKey, byte[]... payLoad) throws NoSuchAlgorithmException, InvalidKeyException { if (!VERSION.equals(cred.getVersion())) throw new IllegalArgumentException ("unsupported.version"); assertNotNull(payLoad, "invalid.payLoad"); assertNotNull...
1628050_4
public GLTransaction createReverse() { return createReverse(false); }
1628050_5
public long next (long wrapAt) { synchronized (this) { if (++value > wrapAt) value = 1; } return value; }
1628050_6
public long next (long wrapAt) { synchronized (this) { if (++value > wrapAt) value = 1; } return value; }
1628050_7
@Override public int unpack(byte[] inStream, int offset, Map<String, String> fields) throws ISOException { int packedSize = interpretter.getPackedLength(size); if (inStream.length - offset < packedSize) { throw new ISOException(String.format("Field [%s] at offset [%d]:Expecting %d bytes found %d", getName(),offset,...
1628050_8
@Override public int unpack(byte[] inStream, int offset, Map<String, String> fields) throws ISOException { int packedSize = interpretter.getPackedLength(size); if (inStream.length - offset < packedSize) { throw new ISOException(String.format("Field [%s] at offset [%d]:Expecting %d bytes found %d", getName(),offset,...
1628050_9
@Override public int unpack(byte[] inStream, int offset, Map<String, String> fields) throws ISOException { int packedSize = interpretter.getPackedLength(size); if (inStream.length - offset < packedSize) { throw new ISOException(String.format("Field [%s] at offset [%d]:Expecting %d bytes found %d", getName(),offset,...
1639726_0
private void register(String cpaId, Class<? extends Validator> handlerClass, Properties config) { String contentType = config.getProperty("contentType"); ValidatorComponent vc = getComponent(); if(contentType == null) { vc.registerDefault(cpaId, handlerClass,config); } else { vc.reg...
1639726_1
private String checkMessageStatus(String input)throws SOAPRequestException{ if(input !=null && !(input.equalsIgnoreCase(MessageClassifier.INTERNAL_STATUS_RECEIVED) || input.equalsIgnoreCase(MessageClassifier.INTERNAL_STATUS_PENDING) || input.equalsIgnoreCase(MessageClassifier.INTERNAL_STATUS_PROCESSING) || ...
1639726_2
private String checkMessageBox(String input)throws SOAPRequestException{ if(input !=null && !(input.equalsIgnoreCase(MessageClassifier.MESSAGE_BOX_INBOX) || input.equalsIgnoreCase(MessageClassifier.MESSAGE_BOX_OUTBOX))){ String errMsg = "Wrong Message Box entered, you have entered: ["+ input+"]"; throw new S...
1639726_3
public void onMessage(Message message) { log().debug("got message:" + message.getSource().toString()); try { EbmsRequest ebmsRequest = buildEbmsRequest(message); getMSH().processOutboundMessage(ebmsRequest, null); } catch (Exception e) { log().error("Failed to process outbound messa...
1639726_4
public int findInboxReadyMaxSequenceNoByCpa(MessageDVO data) throws DAOException { List l = super.find( "find_inbox_ready_max_sequence_no_by_cpa", new Object[] { data.getCpaId(), data.getService(), data.getAction(), data.getConvId() }); Iterator i = l.iterator(); if (i.hasNex...
1639726_5
public List findMessageByCpa(MessageDVO data, int numberOfMessage) throws DAOException { List parameters = new ArrayList(); String sql = super.getFinder("find_message_by_cpa"); parameters.add(data.getCpaId()); parameters.add(data.getService()); parameters.add(data.getAction()); if (data.getConvId() != n...
1639726_6
public List findMessagesByHistory(MessageDVO data, int numberOfMessage, int offset) throws DAOException { List parameters = new ArrayList(); boolean hasSearchCriteria = false; String sql = super.getFinder("find_message_by_history"); if (data.getMessageId() != null && !data.getMessageId().trim().equa...
1639726_7
public int findNumberOfMessagesByHistory(MessageDVO data) throws DAOException { try { List parameters = new ArrayList(); String sql = super.getFinder("find_number_of_message_by_history"); if (data.getMessageId() != null && !data.getMessageId().trim().equals("")) { sql += ...
1639726_8
public long findInboxNextOrderNo() throws DAOException { try { List result = super.executeRawQuery(super.getFinder("find_inbox_next_order_no"), new Object[] {}); List resultEntry = (List) result.get(0); return ((Number) resultEntry.get(0)).longValue(); } catch (Exception e) { return 1; } }
1639726_9
@Override public void messageReceived(EbxmlMessage requestMessage) { try { initialiseJMSConnection(); sendMessageToQueue(requestMessage); closeSession(); } catch (JMSException e) { EbmsProcessor.core.log.error(e); connection = null; } }
1642369_0
public Page<City> findCities(CitySearchCriteria criteria, Pageable pageable) { Assert.notNull(criteria, "Criteria must not be null"); String name = criteria.getName(); if (!StringUtils.hasLength(name)) { return this.cityRepository.findAll(null); } String country = ""; int splitPos = name.lastIndexOf(","); if (...
1642369_1
public Page<City> findCities(CitySearchCriteria criteria, Pageable pageable) { Assert.notNull(criteria, "Criteria must not be null"); String name = criteria.getName(); if (!StringUtils.hasLength(name)) { return this.cityRepository.findAll(null); } String country = ""; int splitPos = name.lastIndexOf(","); if (...
1642369_2
public Page<City> findCities(CitySearchCriteria criteria, Pageable pageable) { Assert.notNull(criteria, "Criteria must not be null"); String name = criteria.getName(); if (!StringUtils.hasLength(name)) { return this.cityRepository.findAll(null); } String country = ""; int splitPos = name.lastIndexOf(","); if (...
1642369_3
public Page<City> findCities(CitySearchCriteria criteria, Pageable pageable) { Assert.notNull(criteria, "Criteria must not be null"); String name = criteria.getName(); if (!StringUtils.hasLength(name)) { return this.cityRepository.findAll(null); } String country = ""; int splitPos = name.lastIndexOf(","); if (...
1642369_4
public City getCity(String name, String country) { Assert.notNull(name, "Name must not be null"); Assert.notNull(country, "Country must not be null"); return this.cityRepository.findByNameAndCountryAllIgnoringCase(name, country); }
1642369_5
public Page<HotelSummary> getHotels(City city, Pageable pageable) { Assert.notNull(city, "City must not be null"); return this.hotelSummaryRepository.findByCity(city, pageable); }
1642369_6
public Hotel getHotel(City city, String name) { Assert.notNull(city, "City must not be null"); Assert.hasLength(name, "Name must not be empty"); return this.hotelRepository.findByCityAndName(city, name); }
1642369_7
public Page<Review> getReviews(Hotel hotel, Pageable pageable) { Assert.notNull(hotel, "Hotel must not be null"); return this.reviewRepository.findByHotel(hotel, pageable); }
1642369_8
public Review getReview(Hotel hotel, int reviewNumber) { Assert.notNull(hotel, "Hotel must not be null"); return this.reviewRepository.findByHotelAndIndex(hotel, reviewNumber); }
1642369_9
public ReviewsSummary getReviewSummary(Hotel hotel) { List<RatingCount> ratingCounts = this.hotelSummaryRepository.findRatingCounts(hotel); return new ReviewsSummaryImpl(ratingCounts); }
1644461_0
public static Graph create( String sourceName, RepositoryConnectionFactory connectionFactory, ExecutionContext context ) { return new Graph(sourceName, connectionFactory, context); }
1644461_1
public Move<Conjunction<Graph>> move( Node from ) { return move(from.getLocation()); }
1644461_2
public Copy<Graph> copy( Node from ) { return copy(from.getLocation()); }
1644461_3
public Conjunction<Graph> delete( Node at ) { requests.deleteBranch(at.getLocation(), getCurrentWorkspaceName()); return nextGraph; }
1644461_4
public CreateWorkspace createWorkspace() { return new CreateWorkspace() { /** * {@inheritDoc} * * @see org.modeshape.graph.Graph.NameWorkspace#named(java.lang.String) */ public Workspace named( String workspaceName ) { CreateWorkspaceRequest request =...
1644461_5
public CreateWorkspace createWorkspace() { return new CreateWorkspace() { /** * {@inheritDoc} * * @see org.modeshape.graph.Graph.NameWorkspace#named(java.lang.String) */ public Workspace named( String workspaceName ) { CreateWorkspaceRequest request =...
1644461_6
public CreateWorkspace createWorkspace() { return new CreateWorkspace() { /** * {@inheritDoc} * * @see org.modeshape.graph.Graph.NameWorkspace#named(java.lang.String) */ public Workspace named( String workspaceName ) { CreateWorkspaceRequest request =...
1644461_7
public CreateWorkspace createWorkspace() { return new CreateWorkspace() { /** * {@inheritDoc} * * @see org.modeshape.graph.Graph.NameWorkspace#named(java.lang.String) */ public Workspace named( String workspaceName ) { CreateWorkspaceRequest request =...
1644461_8
public Workspace useWorkspace( String workspaceName ) { VerifyWorkspaceRequest request = requests.verifyWorkspace(workspaceName); return setWorkspace(request.getActualWorkspaceName(), request.getActualLocationOfRoot()); }
1644461_9
public QueryResults search( final String fullTextSearchExpression, int maxResults, int offset ) { FullTextSearchRequest request = requests.search(getCurrentWorkspaceName(), fullTextSearchExpression, maxResults, offset); QueryResults results = new org.modes...
1644585_0
@Override public void applyTo(ServerDriverHttpUriRequest request) { request.setSocketTimeout(timeout); }
1644585_1
public String toString() { return mutableUrl.toString(); }
1644585_2
public String toString() { return mutableUrl.toString(); }
1644585_3
@Override public void applyTo(ServerDriverHttpUriRequest request) { request.setConnectionTimeout(connectionTimeout); request.setSocketTimeout(socketTimeout); }
1644585_4
@Override public void applyTo(ServerDriverHttpUriRequest request) { HttpUriRequest internalRequest = request.getHttpUriRequest(); if (!(internalRequest instanceof HttpEntityEnclosingRequest)) { return; } HttpEntityEnclosingRequest entityRequest = (HttpEntityEnclosingRequest) inter...
1644585_5
@Override public void applyTo(ServerDriverHttpUriRequest request) { HttpUriRequest internalRequest = request.getHttpUriRequest(); if (!(internalRequest instanceof HttpEntityEnclosingRequest)) { return; } HttpEntityEnclosingRequest entityRequest = (HttpEntityEnclosingRequest) inter...
1644585_6
@Override public void applyTo(ServerDriverHttpUriRequest request) { HttpUriRequest internalRequest = request.getHttpUriRequest(); if (!(internalRequest instanceof HttpEntityEnclosingRequest)) { return; } HttpEntityEnclosingRequest entityRequest = (HttpEntityEnclosingRequest) inter...
1644585_7
@Override public void applyTo(ServerDriverHttpUriRequest request) { HttpUriRequest internalRequest = request.getHttpUriRequest(); if (!(internalRequest instanceof HttpEntityEnclosingRequest)) { return; } HttpEntityEnclosingRequest entityRequest = (HttpEntityEnclosingRequest) inter...